/* Base Styles */
:root {
    --primary-color: #003366;
    --secondary-color: #ffffff;
    --accent-color: #f8b400;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --text-color: #444444;
    --border-color: #e0e0e0;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --white: #ffffff;
    --primary-dark: #002244;
    --primary-light: #004488;
    --text-light: #666666;
    --light-bg: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    background-color: #e0f7fa;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/mtü-logo.png');
    background-repeat: repeat;
    background-size: 120px;
    background-position: center;
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* HEADER STİLLERİ */
header {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between; /* sol - orta - sağ */
  align-items: center;
  box-shadow: var(--box-shadow);
  position: relative;
  width: 100%;
  z-index: 1000;
}

.header-left, 
.header-right {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.header-center {
  text-align: center;
  flex: 1; /* Ortadaki alanı doldursun */
  padding: 0 1rem;
}

.header-center h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--secondary-color);
}

.header-center h4 {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.logo:hover {
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

/* Info Column */
.info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.card-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
}

.card-icon {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    color: var(--white);
}

.card-header h2 {
    font-size: 1.1rem;
    font-weight: 500;
    flex: 1;
}

.card-actions {
    display: flex;
}

.action-btn {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0.7;
    transition: var(--transition);
}

.action-btn:hover {
    opacity: 1;
}

.card-body {
    padding: 1.5rem;
}

/* Slider Düzeltme ve Genel Stiller */
.gallery-slider {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    background: var(--white);
}

.gallery-slider .card-header {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
}

.gallery-slider .card-header h2 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.gallery-slider .card-actions {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
}

.gallery-slider .action-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--secondary-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-slider .action-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Slider Düzeltmeleri */
.gallery-container {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.gallery-slides {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.gallery-slides .slide {
    min-width: 100%;
    position: relative;
    transition: opacity 0.3s ease;
}

.gallery-slides .slide:not(.active) {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.gallery-slides .slide.active {
    opacity: 1;
}

.gallery-slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.gallery-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-light);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-dots .dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

/* Duyurular Bölümü */
.announcements-card {
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.announcements-card .card-header {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
}

.announcements-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
}

.announcement-item {
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: calc(var(--border-radius) - 2px);
    background: var(--light-bg);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.announcement-item:hover {
    background: rgba(0, 51, 102, 0.05);
    border-left-color: var(--accent-color);
    transform: translateX(3px);
}

.announcement-title {
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.announcement-title::before {
    content: "•";
    color: var(--accent-color);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.announcement-content {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.announcement-date {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.announcement-date i {
    margin-right: 0.3rem;
    font-size: 0.7rem;
}

.calendar-card {
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.calendar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.calendar-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--secondary-color);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calendar-card .card-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.calendar-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.calendar-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 51, 102, 0.1);
}

.calendar-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.1);
}

.calendar-header {
    background: rgba(0, 51, 102, 0.05);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.calendar-date {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.calendar-date i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.calendar-content {
    padding: 1.25rem;
}

.calendar-title {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.calendar-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Scroll alanı - duyurularla aynı mantık */
.calendar-scroll {
  max-height: 420px;   /* yüksekliği isteğine göre değiştir */
  overflow-y: auto;
  margin-top: 1rem;
  padding-right: 0.5rem; /* scrollbar taşmasın */
}


/* Durum Mesajları */
.loading-state, .empty-state, .error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 51, 102, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.empty-state i, .error-state i {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-state p, .error-state p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.retry-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.retry-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .gallery-container {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        height: 180px;
    }
    
    .event-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-date {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 576px) {
    .gallery-container {
        height: 150px;
    }
}

/* Login Column */
.login-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-container {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.login-header {
    padding: 1.25rem;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.login-header h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    opacity: 0.9;
    font-size: 0.85rem;
}

.login-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
    font-size: 0.9rem;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.login-form {
    padding: 1.25rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.85rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.9rem;
}

.input-with-icon input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
}

.input-with-icon input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 147, 0.1);
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 2.7rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.9rem;
}

/* Form options container */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

/* Remember Me checkbox */
.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s;
}

.remember-me:hover {
    color: var(--primary-dark);
}

/* Hide default checkbox */
.remember-me input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

/* Checked state */
.remember-me input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Checkmark */
.remember-me input[type="checkbox"]:checked::after {
    content: "✔";
    color: var(--secondary-color);
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Forgot password link */
.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}


.login-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-btn i {
    margin-left: 0.5rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.login-btn:hover {
    background: var(--primary-dark);
}

.login-btn:hover i {
    transform: translateX(3px);
}

.login-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.85rem;
}

.register-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.register-link:hover {
    text-decoration: underline;
}

/* Info Card */
.info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    border: 1px solid var(--border-color);
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex: 0 0 auto;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.info-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.learn-more {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.learn-more i {
    margin-left: 0.25rem;
    font-size: 0.7rem;
    transition: var(--transition);
}

.learn-more:hover i {
    transform: translateX(3px);
}

/* FOOTER STİLLERİ */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 2rem 5% 1.5rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 1.5rem;
}

.footer-section {
    max-width: 300px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h3 i {
    font-size: 1rem;
}

.social-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-links i {
    font-size: 0.9rem;
    width: 1rem;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.footer-line {
    margin: 0;
}

.top-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    height: 16px;
    vertical-align: middle;
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--text-light);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 51, 102, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .login-column {
        order: -1;
    }
}

@media (max-width: 768px) {
    
  .header-center h1 {
    font-size: 1.2rem;
  }

  .header-center h4 {
    font-size: 0.8rem;
  }

  .logo {
    height: 45px;
  }
    
    .main-content {
        padding: 1rem;
    }
    
    .clubs-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-section {
        max-width: 100%;
    }
    
    .social-links a {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .card-header {
        padding: 0.75rem 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .login-header {
        padding: 1rem;
    }
    
    .login-form {
        padding: 1rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin-bottom: 0.5rem;
    }
}

/* Öğrenci Toplulukları Ana Kart */
.clubs-card {
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 2rem;
    max-height: 640px; /* Kartın maksimum yüksekliği */
    display: flex;
    flex-direction: column;
}

.clubs-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.clubs-card .card-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.clubs-card .card-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 0.75rem;
}

.clubs-card .card-actions .action-btn {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
    margin-left: auto;
}

.clubs-card .card-actions .action-btn:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: rotate(90deg);
}

/* Kart Gövdesi Scroll Ayarları */
.clubs-card .card-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    scroll-behavior: smooth;
}

/* Grid Yapısı */
.community-grid {
    display: grid;
    gap: 1.25rem;
}

/* Topluluk Kartları */
.community-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    padding: 1.25rem;
    gap: 1.25rem;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.1);
}

.community-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    background: var(--light-bg);
    padding: 0.25rem;
    flex-shrink: 0;
}

.community-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.community-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.community-title {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

/* Bilgi Satırları */
.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    line-height: 1.5;
}

.info-row span:first-child {
    color: var(--text-light);
    font-weight: 500;
    margin-right: 0.5rem;
}

.info-row span:last-child,
.info-row strong {
    color: var(--primary-dark);
    font-weight: 600;
    text-align: right;
}

.info-row a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-row a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Durum Mesajları */
.loading-state, .empty-state, .error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    grid-column: 1 / -1;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 51, 102, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.empty-state i, .error-state i {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-state p, .error-state p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.retry-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.retry-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .community-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .community-card {
        padding: 1rem;
        gap: 1rem;
    }

    .community-logo {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .community-grid {
        grid-template-columns: 1fr;
    }

    .community-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .info-row span:last-child,
    .info-row strong {
        text-align: center;
    }
}

/* Tüm scrollbar'lar için genel stil */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Scrollbar track (arkaplan) */
::-webkit-scrollbar-track {
    background: rgba(0, 51, 102, 0.05);
    border-radius: 10px;
}

/* Scrollbar thumb (kaydırma çubuğu) */
::-webkit-scrollbar-thumb {
    background: rgba(0, 51, 102, 0.2);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: all 0.3s ease;
}

/* Scrollbar thumb hover durumu */
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 51, 102, 0.4);
    background-clip: content-box;
}

/* Scrollbar corner (köşe) */
::-webkit-scrollbar-corner {
    background: transparent;
}

/* Özel kart scrollbar'ları için */
.card ::-webkit-scrollbar {
    width: 8px;
}

.card ::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.card ::-webkit-scrollbar-track {
    background: rgba(248, 180, 0, 0.1);
}

/* Dikey scrollbar'lar için ince ayar */
html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

html::-webkit-scrollbar-track {
    background: var(--light-gray);
}

/* Firefox için scrollbar stilleri */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-gray);
}

/* Küçük ekranlarda daha ince scrollbar */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    
    .card ::-webkit-scrollbar {
        width: 5px;
    }
}

.dashboard {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', sans-serif;
}

/* Başlık */
.dashboard-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.dashboard-header i {
  font-size: 1.5rem;
  color: var(--primary-color, #004d99);
  margin-right: 12px;
}

.dashboard-header h2 {
  font-size: 1.4rem;
  color: #333;
  margin: 0;
}

/* İstatistik Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  padding: 25px 20px;
  border-radius: 12px;
  color: white;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.15));
}

.stat-card h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.stat-card p {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Renk Temaları */
.stat-card.approved { 
  background: linear-gradient(135deg, #003366 0%, #004d99 100%);
}

.stat-card.pending { 
  background: linear-gradient(135deg, #57abff 0%, #7bc2ff 100%);
}

.stat-card.active-users { 
  background: linear-gradient(135deg, #00b0eb 0%, #00c7ff 100%);
}

.stat-card.transcripts { 
  background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
  color: #333;
}

/* Grafik Grid */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.chart-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
}

.chart-card h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #333;
}

.chart-card canvas {
  width: 100% !important;
  height: 250px !important;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .dashboard {
    padding: 15px;
  }

  .stat-card {
    padding: 20px 15px;
  }

  .stat-card h3 {
    font-size: 0.9rem;
  }

  .stat-card p {
    font-size: 1.6rem;
  }

  .charts-grid {
    grid-template-columns: 1fr; /* Mobilde grafikler alt alta */
  }
}

/* Transkript Ara */
/* Transkript Sorgulama Bölümü */
.transcript-search {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.transcript-search:hover {
  box-shadow: var(--shadow-md);
}

.transcript-search h3 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.transcript-search h3 i {
  color: var(--accent-color);
}

/* Arama Kutusu */
.search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.search-box .prefix {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 51, 102, 0.08);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  
}

.search-box input {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  width: 90px;
  text-align: center;
  background: var(--light-bg);
}

.search-box input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.1);
  background: var(--white);
}

.search-box span:not(.prefix) {
  color: var(--text-light);
  font-weight: 500;
}

.search-box button {
  padding: 0.7rem 1rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.search-box button:hover {
  background: var(--primary-dark);
}

/* Sonuç Kartı */
#transcriptResult {
  margin-top: 1.25rem;
  transition: all 0.3s ease;
}

.result-card {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  line-height: 1.5;
  font-size: 0.9rem;
  color: var(--text-color);
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.4s ease;
}

.result-card p {
  margin: 0.6rem 0;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
}

.result-card p:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.result-card strong {
  color: var(--primary-dark);
  font-weight: 600;
  min-width: 100px;
}

/* Animasyonlar */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .transcript-search {
    padding: 1.25rem;
  }
  
  .search-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  
  .search-box .prefix {
    width: 100%;
    justify-content: center;
  }
  
  .search-box input {
    width: 100%;
    text-align: center;
  }
  
  .search-box span:not(.prefix) {
    display: none;
  }
  
  .search-box button {
    width: 100%;
    margin-top: 0.25rem;
  }
  
  .result-card p {
    flex-direction: column;
    gap: 0.2rem;
  }
  
  .result-card strong {
    margin-bottom: 0.2rem;
  }
}

@media (max-width: 480px) {
  .transcript-search h3 {
    font-size: 1.1rem;
  }
  
  .result-card {
    padding: 1rem;
  }
}

/* FAQ Kartı */
.faq-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--primary-color);
    overflow: hidden;
}

.faq-card .card-header {
    background-color: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-card .card-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.faq-card h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.faq-body {
    padding: 0 !important;
}

/* Arama Kutusu */
.faq-search {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 2px solid rgba(0, 51, 102, 0.1);
    font-size: 1rem;
    transition: all 0.3s;
    background-color: var(--white);
}

.faq-search:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.faq-search::placeholder {
    color: var(--light-text);
}

/* FAQ Listesi */
.faq-list {
    max-height: 400px;
    overflow-y: auto;
}

/* FAQ Öğeleri */
.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s;
}

.faq-question:hover {
    background-color: var(--accent-color);
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--light-text);
    line-height: 1.6;
    background-color: rgba(0, 51, 102, 0.03);
}

.faq-item.active .faq-answer {
    padding: 1rem 1.5rem 1.5rem;
    max-height: 500px;
}

/* Arama Sonuçları */
.no-results {
    padding: 2rem;
    text-align: center;
    color: var(--light-text);
    font-style: italic;
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .faq-card {
        margin-top: 1.5rem;
    }
    
    .faq-card .card-header {
        padding: 1.2rem;
    }
    
    .faq-question {
        padding: 1.2rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .faq-card h2 {
        font-size: 1.3rem;
    }
    
    .faq-search {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0.8rem 1rem 1.2rem;
    }
}

@media (max-width: 576px) {
    .faq-card {
        border-radius: 8px;
    }
    
    .faq-card .card-header {
        padding: 1rem;
    }
    
    .faq-card h2 {
        font-size: 1.2rem;
    }
    
    .faq-search {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .faq-question {
        padding: 0.9rem;
        font-size: 0.9rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0.7rem 0.9rem 1rem;
    }
}

/* Basit ve Şık Ziyaretçi Sayacı */
.visitor-counter {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.visitor-counter:hover {
  transform: translateY(-3px);
}

.counter-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.visitor-counter:hover .counter-icon {
  transform: scale(1.05);
}

.counter-content h3 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

#visitorCount {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(45deg, var(--accent-color), #ffd166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 100px;
}

/* Sayı artış animasyonu */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#visitorCount.updated {
  animation: countUp 0.5s ease-out;
}

/* Responsive tasarım */
@media (max-width: 768px) {
  .visitor-counter {
    padding: 1.25rem;
  }
  
  .counter-icon {
    width: 45px;
    height: 45px;
    font-size: 1.75rem;
  }
  
  #visitorCount {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .visitor-counter {
    padding: 1rem;
  }
  
  .counter-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  #visitorCount {
    font-size: 1.4rem;
  }
}

#accessibility-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 20px;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

#accessibility-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

#accessibility-menu {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 15px;
    z-index: 999;
    display: none;
    flex-direction: column;
    gap: 10px;
    min-width: 250px;
}

#accessibility-menu.active {
    display: flex;
}

#accessibility-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

#accessibility-menu button:hover {
    background-color: var(--light-gray);
}

#accessibility-menu button.active {
    background-color: var(--primary-light);
    color: var(--white);
}

.focus-highlight {
    outline: 3px solid var(--accent-color) !important;
    outline-offset: 2px;
    transition: outline 0.2s ease;
}

.text-to-speech-active {
    background-color: rgba(255, 215, 0, 0.4); /* Yumuşak sarı arka plan */
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
