/*!
Theme Name: SuperSunum
Theme URI: http://underscores.me/
Author: SuperArt
Author URI: https://superart.com.tr
Description: SuperArt Sunum Yazılımı
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: supersunum
Tags: SuperSunum
*/

/* Google Fonts: Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
      --gray-bg: #cfcfcf;
      --highlight-green: #beff01;
      --highlight-green2: #b6ff00;
      --card-radius: 20px;
      --profile-frame-width: min(400px, 98vw);
      --profile-frame-height: min(760px, 95vh);
    }
	
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	font-family: 'Poppins', sans-serif;
	   scroll-behavior: smooth;

}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f0f2f5;
     scroll-behavior: smooth;
}

.navbar-bg-dark {
  background-color:#222;
  color:#fff;
  margin-bottom:20px;
}


.post-navigation {
  margin-top: 0px !important;
  background-color: #5f5f5f;
  display: flex;
  margin-top: 20px;
  width: 100%;
}

.post-navigation .prev-post,
.post-navigation .next-post {
  flex: 1; /* yarı yarıya böl */
}

.post-navigation a {
    border-radius: 0px !important;
    display: block;
    width: 100%;
    padding: 25px;
    text-align: center;
    font-size:22px;
    font-weight: 600;
    background-color: #2d2d2d;
    border-right: 1px solid #484646 !important;
    color: #fff;
    border: 0px solid #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-navigation .prev-post a {
  border-right: none; /* ortadaki çizgiyi kaldır */
}

.post-navigation a:hover {
  background-color: #000;
}


.navbar-bg-dark ul li {
  margin-left:20px;
}

.navbar-bg-dark ul li a {
  color:#fff;
}

.navbar-bg-dark ul li a.logout-items {
  background-color:#b6ff00;
  color:#222;
  border-radius:4px;
  font-size:14px;
  font-weight:600;
  padding-left:12px !important;
  padding-right:12px !important;
}

.table.dataTable thead>tr>th.sorting {
  background-color:#e7e7e7;
}

.table.dataTable {
  font-size:14px !important;
}

.content-dv {
   position: relative;
    border: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color:#fff !important;
    border-radius: 25px;
    padding: 25px;
    box-sizing: border-box;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
    .card {
      margin-bottom: 0px;
      box-shadow: 0 0 10px rgba(0,0,0,0.08);
      border-radius: var(--card-radius);
      overflow: visible;
      background-color: var(--gray-bg);
      border: none;
      padding: 0;
      width: 100%;
      transition: box-shadow 0.2s;
    }
    .highlight-box {
      background-color: var(--highlight-green);
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
      padding: 50px;
      min-width: 0;
      word-break: break-word;
    }
    .btn-decline {
      background: #fff;
      color: #ff3f4d;
      border: 2px solid #ff3f4d;
      border-radius: 16px;
      padding: 8px 28px;
      font-weight: 600;
      letter-spacing: 0.5px;
      transition: background 0.2s, color 0.2s;
      margin-right: 10px;
      font-size: 1rem;
    }
    .btn-decline:hover, .btn-decline:focus {
      background: #ff3f4d;
      color: #fff;
    }
    .btn-approve {
      background: #222;
      color: #ffffff;
      border: 2px solid var(--highlight-green);
      border-radius: 16px;
      padding: 8px 28px;
      font-weight: 600;
      letter-spacing: 0.5px;
      transition: background 0.2s, color 0.2s;
      font-size: 1rem;
    }
    .btn-approve:hover, .btn-approve:focus {
      background: #222;
      color: var(--highlight-green);
      border-color: var(--highlight-green);
    }
    .btn-comment {
      background: var(--highlight-green);
      color: #222;
      border-radius: 16px;
      padding: 8px 20px;
      font-weight: 600;
      letter-spacing: 0.5px;
      transition: background 0.2s, color 0.2s;
      font-size: 1rem;
      border: none;
    }
    .btn-comment:hover {
      background: #222;
      color: #fff;
    }
    .action-buttons {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .background-color-gray {
      background-color: var(--gray-bg);
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 320px;
      padding: 20px;
      box-sizing: border-box;
    }
    /* ---- REELS ---- */
    .reels-container {
      width: 100%;
      min-height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .reels-box {
      max-width: 340px;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: center;
      margin: 0 auto;
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
      background: #fff;
      border-radius: 22px;
      overflow: hidden;
    }
    .reels-white-space {
      width: 100%;
      height: 28px;
      background: #fff;
    }
    .reels-white-space:first-child {
      border-top-left-radius: 22px;
      border-top-right-radius: 22px;
    }
    .reels-white-space-bottom {
      border-bottom-left-radius: 22px;
      border-bottom-right-radius: 22px;
    }
    .reels-video-area {
      position: relative;
      width: 100%;
      padding-top: 177.78%; /* 9:16 oranı */
      background: #000;
      overflow: hidden;
      border-radius: 0 0 22px 22px;
    }
    .reels-video-area video {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      border-radius: 0 0 22px 22px;
    }
    .reels-icons-bottom {
      position: absolute;
      right: 18px;
      bottom: 20px;
      display: flex;
      flex-direction: column;
      gap: 22px;
      z-index: 2;
    }
    .reels-icons-bottom i {
      color: #fff;
      font-size: 25px;
      transition: transform 0.2s;
      text-shadow: 0 2px 10px rgba(0,0,0,0.24);
      cursor: pointer;
    }
    .reels-icons-bottom i.bi-heart-fill {
      color: #ff3f4d;
    }
    .reels-icons-bottom i:hover {
      transform: scale(1.18);
    }
    /* ---- INSTAGRAM POST ---- */
    .instagram-post {
      width: 100%;
      max-width: 400px;
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      display: flex;
      flex-direction: column;
      align-items: stretch;
      margin: 0 auto;
      position: relative;
      overflow: hidden;
      min-width: 0;
    }

    .post-description {
      font-size:14px;
    }
    
    .insta-header {
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      padding: 16px 16px 12px 0;
      background: #fff;
    }
    .insta-dots {
      height: 4px;
      width: 4px;
      background: #333;
      border-radius: 50%;
      margin-left: 3px;
      margin-top: 2px;
      display: inline-block;
    }
    .insta-carousel {
      position: relative;
      width: 100%;
      max-width: 500px;
      padding-top: 100%;
      background: #eee;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
      overflow: hidden;
      min-width: 0;
      min-height: 500px;
    }
    .insta-carousel-img {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: auto;
      object-fit: cover;
      display: none;
      border-radius: 0;
    }
    .insta-carousel-img.active {
      display: block;
    }
    .insta-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255,255,255,0.8);
      border-radius: 50%;
      font-size: 22px;
      cursor: pointer;
      z-index: 2;
      width: 34px;
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
    }
    .insta-arrow.left { left: 8px; }
    .insta-arrow.right { right: 8px; }
    .insta-footer {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding: 10px 14px 10px 10px;
      background: #fff;
      border-top: 1px solid #eee;
      min-height: 40px;
    }
    .footer-icons {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 80px;
    }
    .footer-icons i {
      font-size: 18px;
      color: #222;
      cursor: pointer;
      transition: transform 0.2s;
    }
    .footer-icons i.bi-heart-fill { color: #ff3f4d; }
    .footer-icons i:hover { transform: scale(1.2); }
    .insta-dots-carousel {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      z-index: 1;
      pointer-events: auto;
    }
    .insta-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #222;
      opacity: 0.4;
      margin: 0 2px;
      transition: opacity 0.2s;
      cursor: pointer;
    }
    .insta-dot.active {
      background: #222;
      opacity: 1;
    }
    .footer-space { flex: 1; }
    /* ---- PROFIL FRAME ---- */
    .cicek-profile-frame {
      display: flex;
      flex-direction: column;
      width: var(--profile-frame-width);
      height: var(--profile-frame-height);
      background-color: #f8f9fa;
      border-radius: 20px;
      box-shadow: 0 0 20px rgba(0,0,0,0.08);
      position: relative;
      overflow: hidden;
      margin: 0 auto;
      min-width: 0;
      min-height: 0;
      transition: width 0.2s, height 0.2s;
    }
    .cicek-profile-top-bar, .cicek-profile-bottom-bar {
      position: absolute;
      width: 100%;
      background-color: #fff;
      z-index: 10;
      padding: 10px 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .cicek-profile-top-bar { top: 0; border-bottom: 1px solid #ddd; }
    .cicek-profile-bottom-bar { bottom: 0; border-top: 1px solid #ddd; justify-content: space-around; }
    .cicek-profile-info {
      margin-top: 60px;
      padding: 10px 15px;
      flex-shrink: 0;
      min-width: 0;
    }
    .cicek-profile-grid-scroll {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      padding: 0 10px 15px;
    }
    .cicek-profile-grid-scroll::-webkit-scrollbar { width: 5px; }
    .cicek-profile-grid-scroll::-webkit-scrollbar-thumb { background-color: #ccc; }
    .photo-card {
      padding: 0 4px;
      background-color: #fff;
    }
    .photo-card img {
      border: 2px solid #fff;
      border-radius: 0px;
      width: 100%;
      object-fit: cover;
      min-width: 0;
    }
    .cicek-insta-btn {
      background-color: #e9e9e9;
      border: 1px solid #dbdbdb;
      border-radius: 6px;
      padding: 6px 30px;
      font-size: 0.85rem;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 1px 2px rgba(0,0,0,0.1);
      transition: all 0.2s ease;
    }
    .cicek-insta-btn:hover {
      background-color: #f0f0f0;
      border-color: #ccc;
    }
    .cicek-plus-btn {
      width: 35px;
      height: 35px;
      padding: 0;
      justify-content: center;
      border-radius: 8px;
    }
    .cicek-plus-btn i { font-size: 1.1rem; }
    .cicek-profile-info h6 { font-size: 1rem; }
    .cicek-profile-info small { font-size: 0.7rem; color: #666; }
    .cicek-profile-info a { text-decoration: none; }
    .cicek-profile-info a:hover { text-decoration: underline; }
    .cicek-profile-stats { display: flex; justify-content: flex-start; }
    .cicek-profile-stats > div { margin-right: 40px; }
    /* ---- YOUTUBE ---- */
    .youtube-container {
      width: 100%;
      max-width: 1080px;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      border-radius: 20px;
      margin: 0 auto;
      background: #000;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .youtube-container iframe {
      width: 100%;
      height: 100%;
      min-width: 0;
      min-height: 0;
      border: none;
      display: block;
    }
    /* ---- RESPONSIVE ---- */
    @media (max-width: 1200px) {
      .container { max-width: 100vw; }
      .cicek-profile-frame { width: min(98vw, 400px); }
      .instagram-post, .reels-box { max-width: 95vw; }
      .youtube-container { max-width: 98vw; }
    }
    @media (max-width: 991px) {
      .content-text {padding-left:0px;padding-right:0px;}
      .cicek-profile-frame { width: min(96vw, 400px); height: auto; }
      .instagram-post, .reels-box { max-width: 97vw; }
      .highlight-box { padding: 28px 12px; border-radius: 12px; }
      .background-color-gray { min-height: 180px; padding: 10px; }
      .card { border-radius: 12px; }
    }
    @media (max-width: 700px) {
      .content-text {padding-left:0px;padding-right:0px;}
      .cicek-profile-frame { width: 99vw; height: auto; border-radius: 12px; }
      .instagram-post, .reels-box { max-width: 99vw; border-radius: 12px; }
      .highlight-box { padding: 45px 6px 45px; border-radius: 8px; font-size: 0.98rem; }
      .background-color-gray { min-height: 80px; padding: 6px; border-radius: 8px; }
      .card { border-radius: 8px; }
      .youtube-container { border-radius: 12px; }
      .btn-decline, .btn-approve, .btn-comment { font-size: 0.97rem; padding: 6px 10px; border-radius: 10px; }
      .cicek-profile-info h6 { font-size: 0.98rem; }
    }
    @media (max-width: 500px) {
      .container { padding: 7vw 1vw; }
      .cicek-profile-frame { min-width: 0; width: 100vw; }
      .instagram-post,
      .insta-carousel {
        max-width: 99vw;
        width: 99vw;
        height: auto;
        min-width: 0;
      }
      .insta-carousel-img, .reels-video-area video { min-width: 0; }
      .highlight-box { padding: 10px 4px; border-radius: 4px; font-size: 0.96rem; }
      .background-color-gray { min-height: 60px !important; padding: 4px; border-radius: 5px; }
      .card { border-radius: 4px; }
      .youtube-container { border-radius: 6px; }
      .btn-decline, .btn-approve, .btn-comment { font-size: 0.93rem; padding: 6px 6px; border-radius: 7px; }
      .cicek-profile-info h6 { font-size: 0.95rem; }
    }
    /* Yatay scroll ve taşma önleme */
    body, html {
      overflow-x: hidden;
      width: 100vw;
      max-width: 100vw;
    }
    .row, .col-12, .col-md-5, .col-md-7 {
      min-width: 0;
      box-sizing: border-box;
    }
    .hashtags {
      word-break: break-all;
      font-size: 1rem;
      color: #444;
      opacity: 0.9;
      margin-bottom: 0;
    }
    @media (max-width: 700px) {
      .hashtags { font-size: 0.93rem; }
    }
    @media (max-width: 500px) {
      .hashtags { font-size: 0.90rem; }
    }


.badge {
    font-size: 13px;
    padding: 6px 15px;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #000;
    border-color: #000;
}

div.dataTables_wrapper div.dataTables_info, .pagination {
  font-size:13px !important;
}

footer {
  padding-top:15px;
}

.page-link {
    position: relative;
    display: block;
    margin-top: 8px;
    padding: 4px 10px;
}

    .navbar-expand-lg .navbar-nav .dropdown-menu {
        background-color:#b6ff00;
        color:#222;
    }


    .dropdown-item:focus, .dropdown-item, .dropdown-item:focus, .dropdown-item:hover {
      font-size:14px !important;
      font-weight:500;
      background-color:#b6ff00;
      color:#222 !important;
    }

    div.dataTables_wrapper div.dataTables_length label {
    font-size: 14px;
    }

    footer .sp {
      font-size:14px !important;
      color: #6d6d6d !important
    }

    footer .sp a {
      font-size:14px !important;
      color:#222 !important;
      text-decoration: none !important;
      font-weight:bold;
    }

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login-box {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.login-logo {
  font-weight: 600;
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

.login-form .input-group {
  margin-bottom: 15px;
}

.login-form input {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  background: #fafafa;
  transition: all 0.2s ease;
}

.login-form input:focus {
  outline: none;
  border-color: #3897f0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(56,151,240,0.15);
}

.login-form input,
.login-btn {
  width: 100%;
  box-sizing: border-box; /* genişlik hesabını eşitle */
}

.navbar-brand {
	font-weight:600;
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: #3897f0;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.login-btn:hover {
  background: #3182d6;
}

.error-msg {
  color: #e74c3c;
  margin-top: 10px;
  font-size: 14px;
}

.login-footer {
  margin-top: 25px;
  font-size: 14px;
  color: #555;
}

.login-footer a {
  color: #3897f0;
  text-decoration: none;
  font-weight: 500;
}

#sunumlar_filter {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

#sunumlar_filter label {
    margin-bottom: 0; /* arama label alt boşluğu kalksın */
}

#sunumlar thead tr:nth-child(2) th {
    background-image: none !important;
    cursor: default !important;
}


div.dataTables_wrapper div.dataTables_filter {
    text-align: left !important;
}