/* ============================================
   EgitimHtml - Ortak CSS Stilleri
   ============================================ */

/* Temel Stiller */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: transparent;
    min-height: 100vh;
}

/* Main elementindeki scroll'u kaldır */
main {
    overflow-y: visible !important;
    overflow-x: hidden !important;
    margin-left: 0 !important;
    transition: margin-left 0.3s ease;
    position: relative;
}

/* Dark mode main elementinde overflow kontrolü - baloncuklar için */
.dark main,
.dark main.flex-1,
html.dark main,
html.dark main.flex-1 {
    overflow: hidden !important;
}

/* Sidebar kapalıyken tamamen gizle - mor alan görünmesin */
#sidebar.-translate-x-full {
    transform: translateX(-100%) !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: -1 !important;
}

/* Sidebar açıkken görünür yap */
#sidebar:not(.-translate-x-full) {
    transform: translateX(0) !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 50 !important;
}

/* Sidebar kapalıyken main tam genişlikte olsun */
main:not(.sidebar-open) {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Tüm sayfalardaki lg:ml-72 class'ını override et */
main.lg\:ml-72,
main[class*="lg:ml-72"] {
    margin-left: 0 !important;
}

/* Sidebar açıkken main'e margin ekle (JavaScript ile yönetiliyor) */
main.sidebar-open {
    margin-left: 20rem !important;
}

@media (max-width: 1024px) {
    main.sidebar-open {
        margin-left: 0 !important;
    }
}

/* Main elementi için animasyonlu gradient */
/*main {
    background: linear-gradient(-45deg, #1e293b, #334155, #0f172a, #1e3a8a, #312e81, #1e293b, #475569, #1e293b);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    min-height: 100vh;
}*/

/* Scrollbar Özelleştirme */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 2px;
    transition: background 0.3s ease;
}

*:hover::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

*:hover::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

*:hover::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Firefox için scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

*:hover {
    scrollbar-color: #cbd5e1 transparent;
}

/* Gradient Renkler */
.gradient-orange { 
    background: linear-gradient(135deg, #FF9966 0%, #FF5E62 100%); 
}

.gradient-green { 
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%); 
}

.gradient-purple { 
    background: linear-gradient(135deg, #DA22FF 0%, #9733EE 100%); 
}

.gradient-blue { 
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%); 
}

.gradient-indigo { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
}

.gradient-dark { 
    background: linear-gradient(135deg, #232526 0%, #414345 100%); 
}

.gradient-pink { 
    background: linear-gradient(135deg, #ec008c 0%, #fc6767 100%); 
}

.gradient-dark-purple { 
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 100%); 
}

.gradient-red { 
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); 
}

.gradient-dark-blue { 
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); 
}

.gradient-dark-blue-alt { 
    background: linear-gradient(135deg, #0f4c75 0%, #3282b8 100%); 
}

/* Konu sayfası test başlık etiketi */
.test-image-wrap {
    position: relative;
}

.test-title-overlay {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.92), rgba(79, 70, 229, 0.92));
    border: 1px solid rgba(129, 140, 248, 0.45);
    box-shadow: 0 10px 20px -14px rgba(15, 23, 42, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.test-title-overlay span {
    display: block;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.6);
}

/* SweetAlert2 title color override */
.swal2-title.swal-title-black {
    color: #000 !important;
}

/* Index.aspx - Gradient kartlarını şeffaf yap */
main.index-main .gradient-orange {
    background: linear-gradient(135deg, rgba(255, 153, 102, 0.5), rgba(255, 94, 98, 0.5)) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

main.index-main .gradient-green {
    background: linear-gradient(135deg, rgba(86, 171, 47, 0.5), rgba(168, 224, 99, 0.5)) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

main.index-main .gradient-purple {
    background: linear-gradient(135deg, rgba(218, 34, 255, 0.5), rgba(151, 51, 238, 0.5)) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

main.index-main .gradient-blue {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.5), rgba(0, 114, 255, 0.5)) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

main.index-main .gradient-red {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.5), rgba(245, 87, 108, 0.5)) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

main.index-main .gradient-dark-blue {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.5), rgba(42, 82, 152, 0.5)) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* Kart Hover Efektleri */
.card-hoverable {
    transition: all 0.3s ease;
}

.card-hoverable:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Filtre Butonları (Eski - Geriye dönük uyumluluk için) */
.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);
    color: white;
}

/* Ders Kategori Sidebar */
.ders-sidebar {
    width: 70px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: sticky;
    top: 240px;
    align-self: flex-start;
}

.ders-sidebar:hover {
    width: 240px;
}

.ders-category-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.ders-category-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.ders-category-item.active::before {
    transform: scaleY(1);
}

.ders-category-item.active {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-left: 4px solid #9333EA;
}

.ders-category-item:hover {
    transform: translateX(5px);
    background: rgba(147, 51, 234, 0.05);
}

.ders-category-text {
    opacity: 0;
    transition: opacity 0.2s ease 0.1s;
    margin-left: 12px;
}

.ders-sidebar:hover .ders-category-text {
    opacity: 1;
}

.ders-category-count {
    opacity: 0;
    transition: opacity 0.2s ease 0.1s;
}

.ders-sidebar:hover .ders-category-count {
    opacity: 1;
}

/* Ödev Kartları */
.odev-card {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rehberlik Sayfası Stilleri */
.tab-btn {
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, #FF9966 0%, #FF5E62 100%);
    color: white;
}

.quote-banner {
    background: linear-gradient(135deg, #E9D5FF 0%, #DDD6FE 100%);
}

.nav-banner {
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);
}

/* Modal Animations */
.modal-overlay {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-content.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.category-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.2s ease-out;
}

.category-item.show {
    opacity: 1;
    transform: translateX(0);
}

.category-item:hover {
    transform: translateX(5px);
}

/* Rehberlik 2 - Kategori Filtre Butonları */
.category-filter-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.content-card {
    transition: all 0.3s ease;
}

/* Ders Detay - Ünite Collapse */
.collapse-content {
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.collapse-content:not(.hidden) {
    max-height: 5000px;
    opacity: 1;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-slide-down {
    animation: slideDown 0.4s ease-out forwards;
}

/* Ünite Kart Hover Efektleri */
.unit-card {
    transition: all 0.3s ease;
}

.unit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* TYT/AYT Butonları */
.tyt-ayt-btn {
    background-color: #f1f5f9;
    color: #64748b;
    border: none;
    cursor: pointer;
}

.tyt-ayt-btn:hover {
    background-color: #e2e8f0;
    color: #475569;
}

.tyt-ayt-btn.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.3);
}

/* Line Clamp Utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mesajlaşma Sayfası */
.konusma-item.active {
    background-color: #eef2ff;
    border-left: 3px solid #4f46e5;
}

.konusma-item:hover {
    background-color: #f8fafc;
}

#mesajlarAlani {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Modal Animasyonları */
#yeniMesajModal.show {
    opacity: 1;
}

#yeniMesajModal .bg-white {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Branş Hocaları Slider */
#hocaSlider {
    display: flex;
    will-change: transform;
}

.hoca-card {
    transition: transform 0.3s ease;
}

.hoca-card:hover {
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .hoca-card {
        width: 100% !important;
    }
    
    /* Mobile Layout Fixes */
    .content-wrapper {
        margin-left: 0 !important;
    }
    
    main {
        margin-left: 0 !important;
    }

    .ders-sidebar {
        display: none;
    }
}

/* ============================================
   Paketlerim Sayfası (paketlerim.aspx)
   ============================================ */
.content-wrapper {
    position: relative;
    z-index: 10;
}

.package-table {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow-x: auto; /* Mobil için yatay scroll */
}

.table-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.table-header th {
    padding: 16px 20px;
    font-weight: 600;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.5px;
    white-space: nowrap; /* Mobilde başlıkların kırılmaması için */
}

.table-body td {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937;
    font-size: 14px;
}

.table-body tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.status-active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.buy-package-btn {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.buy-package-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

/* Paket Kartları (Ortak) */
.package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
}

.package-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.package-header {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.package-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.package-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.package-content {
    padding: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: #64748b;
    font-size: 14px;
}

.feature-item i {
    width: 20px;
    margin-right: 12px;
    color: #10b981;
}

.price-tag {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* ============================================
   Destek Talebi Sayfası (destek-talebi.aspx)
   ============================================ */
.support-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-input:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
    resize: vertical;
    min-height: 150px;
    font-family: 'Poppins', sans-serif;
}

.form-textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

.info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 32px;
    color: white;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 20px;
}

.info-content h3 {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.info-content p {
    font-size: 14px;
    opacity: 0.9;
}

.file-upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: #6366f1;
    background: #f1f5f9;
}

.file-upload-area.dragover {
    border-color: #6366f1;
    background: #eef2ff;
}

.file-icon {
    font-size: 48px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.file-text {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.file-input {
    display: none;
}

.uploaded-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 12px;
}

.uploaded-file-name {
    display: flex;
    align-items: center;
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
}

.uploaded-file-name i {
    margin-right: 8px;
    color: #6366f1;
}

.remove-file {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
}

.priority-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.priority-high {
    background: #fee2e2;
    color: #dc2626;
}

.priority-medium {
    background: #fef3c7;
    color: #d97706;
}

.priority-low {
    background: #dbeafe;
    color: #2563eb;
}

/* ============================================
   Soru Havuzu (soru-havuzu.aspx)
   ============================================ */
.filter-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 24px;
}

.filter-section {
    margin-bottom: 24px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    display: block;
    font-size: 14px;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.subject-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.subject-card:hover {
    border-color: #6366f1;
    background: #eef2ff;
    transform: translateY(-2px);
}

.subject-card.selected {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: #6366f1;
    color: white;
}

.subject-card.selected .subject-icon {
    color: white;
}

.subject-icon {
    font-size: 32px;
    color: #6366f1;
    margin-bottom: 8px;
}

.subject-name {
    font-weight: 600;
    font-size: 14px;
}

.topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-chip {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}

.topic-chip:hover {
    border-color: #6366f1;
    background: #eef2ff;
    color: #6366f1;
}

.topic-chip.selected {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: #6366f1;
    color: white;
}

.question-count-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.question-count-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.create-test-btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    width: 100%;
}

.create-test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.create-test-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    color: white;
    margin-bottom: 24px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.quick-action-btn {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.quick-action-btn:hover {
    border-color: #6366f1;
    background: #eef2ff;
    transform: translateY(-2px);
}

.quick-action-icon {
    font-size: 24px;
    color: #6366f1;
    margin-bottom: 8px;
}

.quick-action-text {
    font-weight: 600;
    font-size: 13px;
    color: #1e293b;
}

/* ============================================
   Testlerim Sayfası (testlerim.aspx)
   ============================================ */
.test-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.test-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.test-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.test-subtitle {
    font-size: 14px;
    color: #64748b;
}

.test-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-completed {
    background: #dcfce7;
    color: #166534;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-not-started {
    background: #f1f5f9;
    color: #475569;
}

.test-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}

.stat-box {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-correct {
    color: #16a34a;
}

.stat-wrong {
    color: #dc2626;
}

.stat-empty {
    color: #94a3b8;
}

.test-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-continue {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-start {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-view {
    background: #f1f5f9;
    color: #475569;
}

.btn-view:hover {
    background: #e2e8f0;
}

.btn-delete {
    background: #fee2e2;
    color: #dc2626;
}

.btn-delete:hover {
    background: #fecaca;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* Modern Filtre Butonları */
.filter-buttons-container {
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: inline-block;
    margin-bottom: 24px;
}

.filter-buttons-wrapper {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f1f5f9;
    color: #64748b;
    position: relative;
    overflow: hidden;
}

.filter-btn-modern i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.filter-btn-modern:hover {
    background: #e2e8f0;
    color: #475569;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.filter-btn-modern:hover i {
    transform: scale(1.1);
}

.filter-btn-modern.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.filter-btn-modern.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    pointer-events: none;
}

.filter-btn-modern.active i {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.filter-btn-modern:active {
    transform: translateY(0);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.empty-icon, .empty-state-icon {
    font-size: 64px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.empty-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.empty-text {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 24px;
}

.new-test-btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.new-test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* ============================================
   Taleplerim Sayfası (taleplerim.aspx)
   ============================================ */
.ticket-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.ticket-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ticket-card.beklemede {
    border-left-color: #f59e0b;
}

.ticket-card.inceleniyor {
    border-left-color: #3b82f6;
}

.ticket-card.cozuldu {
    border-left-color: #10b981;
}

.ticket-card.kapandi {
    border-left-color: #6b7280;
}

.status-beklemede {
    background: #fef3c7;
    color: #d97706;
}

.status-inceleniyor {
    background: #dbeafe;
    color: #2563eb;
}

.status-cozuldu {
    background: #d1fae5;
    color: #059669;
}

.status-kapandi {
    background: #f3f4f6;
    color: #4b5563;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: #e0e7ff;
    color: #6366f1;
}

/* Modal Header & Body */
.modal-header {
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-radius: 20px 20px 0 0;
}

.modal-body {
    padding: 24px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #1e293b;
}

.detail-section {
    margin-bottom: 24px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.detail-value {
    font-size: 15px;
    color: #1e293b;
    font-weight: 500;
}

.message-box {
    background: #f8fafc;
    border-left: 4px solid #6366f1;
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
}

.message-box p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.timeline-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-left: 2px solid #e2e8f0;
    padding-left: 24px;
    position: relative;
}

.timeline-item:last-child {
    border-left: none;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6366f1;
    position: absolute;
    left: -7px;
    top: 20px;
}

.timeline-content {
    flex: 1;
}

.timeline-date {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.timeline-text {
    font-size: 14px;
    color: #1e293b;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    margin-top: 8px;
}

.file-info {
    flex: 1;
}

.file-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.file-size {
    font-size: 12px;
    color: #64748b;
}

.reply-box {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.reply-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.reply-author {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.reply-date {
    font-size: 12px;
    color: #64748b;
    margin-left: auto;
}

.reply-text {
    color: #475569;
    line-height: 1.6;
    font-size: 14px;
}

/* ============================================
   Ünite Detay Sayfası (unite-detay.aspx)
   ============================================ */
.tab-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4px;
    border-radius: 12px;
    display: inline-flex;
    gap: 12px;
    animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    color: white;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.tab-btn:hover::before {
    width: 300px;
    height: 300px;
}

.tab-btn.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    transform: scale(1.05);
}

.tab-btn:not(.active) {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tab-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.tab-btn:active {
    transform: scale(0.95);
}

.video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #6366f1;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.video-thumbnail.guide {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.thumbnail-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 20px;
}

.thumbnail-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.thumbnail-subtitle {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.95;
}

.thumbnail-header {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.instructor-avatar {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 20;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    z-index: 20;
}

.video-footer {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    padding: 16px;
    text-align: center;
    color: white;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.video-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.video-footer:hover::before {
    left: 100%;
}

.video-footer:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    transform: scale(1.02);
}

.video-footer.guide {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 15;
}

.video-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon i {
    color: #6366f1;
    font-size: 24px;
    margin-left: 4px;
}

/* ============================================
   Giriş Sayfası (giris.aspx)
   ============================================ */
body.login-page {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

/* Yıldız efektleri için */
body.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 90% 20%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 33% 50%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 55% 60%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 10% 90%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 40% 20%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 25% 80%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 75% 40%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 15% 60%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 85% 50%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 50% 10%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 5% 40%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 95% 60%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 35% 15%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 65% 85%, rgba(255, 255, 255, 0.5), transparent);
    background-repeat: repeat;
    background-size: 200% 200%;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

/* Hesabım sayfası için aynı efekt */
body.hesabim-page,
body:has(main.hesabim-main) {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body.hesabim-page header,
body.hesabim-page aside,
body.hesabim-page footer {
   /* position: relative;*/
    z-index: 20;
}

/* Index.aspx - Kartları şeffaf yap (arka plan görünsün) */
main.index-main .bg-white {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

main.index-main .bg-white.border,
main.index-main .bg-white.border-slate-100,
main.index-main .bg-white[class*="border"] {
    border-color: rgba(226, 232, 240, 0.5) !important;
}

/* Dark mode için */
.dark main.index-main .bg-white {
    background: rgba(30, 41, 59, 0.5) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.dark main.index-main .bg-white.border,
.dark main.index-main .bg-white.border-slate-100,
.dark main.index-main .bg-white[class*="border"] {
    border-color: rgba(51, 65, 85, 0.5) !important;
}

/* İlk Giriş Karşılama Modalı */
#welcomeModal {
    backdrop-filter: blur(8px);
}

#welcomeModal .theme-btn,
#welcomeModal .assistant-btn {
    transition: all 0.3s ease;
}

#welcomeModal .theme-btn:hover,
#welcomeModal .assistant-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

#welcomeModal .theme-btn.border-indigo-500,
#welcomeModal .assistant-btn.border-indigo-500 {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

/* Typing cursor efekti */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

#welcomeMessage.typing::after {
    content: '|';
    animation: blink 1s infinite;
    color: #6366f1;
    margin-left: 2px;
}

body.hesabim-page::before,
body:has(main.hesabim-main)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 90% 20%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 33% 50%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 55% 60%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 10% 90%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 40% 20%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 25% 80%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 75% 40%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 15% 60%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 85% 50%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 50% 10%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 5% 40%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 95% 60%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 35% 15%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 65% 85%, rgba(255, 255, 255, 0.5), transparent);
    background-repeat: repeat;
    background-size: 200% 200%;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.login-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 10;
}

.input-focus:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* ============================================
   Dark Mode (Koyu Mod) Stilleri
   ============================================ */

/* Dark mode i�in temel stiller */
.dark {
    color-scheme: dark;
}

/* HTML ve Body için animasyonlu gradient - Sürekli değişen efekt */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Main elementi için özel animasyonlu gradient - Belirgin renkler */
@keyframes mainGradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

html.dark,
.dark html {
    background: linear-gradient(-45deg, #1a0a2e, #16213e, #0f3460, #533483, #1a0a2e, #16213e, #0f3460, #533483, #1a0a2e) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 15s ease infinite !important;
    min-height: 100vh !important;
}

body.dark,
.dark body,
html.dark body,
.dark body.bg-gradient-to-br,
.dark body.from-slate-50,
.dark body.to-slate-100,
.dark body.bg-gradient-to-br.from-slate-50.to-slate-100,
html.dark body.bg-gradient-to-br,
html.dark body.from-slate-50,
html.dark body.to-slate-100,
html.dark body.bg-gradient-to-br.from-slate-50.to-slate-100,
.dark body.text-slate-800,
html.dark body.text-slate-800,
.dark body.antialiased,
html.dark body.antialiased {
    background: linear-gradient(-45deg, #1a0a2e, #16213e, #0f3460, #533483, #1a0a2e, #16213e, #0f3460, #533483, #1a0a2e) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 15s ease infinite !important;
    background-color: transparent !important;
    min-height: 100vh !important;
    color: #e2e8f0 !important;
}

.dark .bg-white {
    background-color: #1e293b !important;
}

.dark .bg-slate-50,
.dark .bg-gradient-to-br.from-slate-50,
html.dark .bg-slate-50,
html.dark .bg-gradient-to-br.from-slate-50 {
    background: transparent !important;
    background-color: transparent !important;
}

.dark .bg-slate-100 {
    background-color: #1e293b !important;
}

.dark .bg-slate-200 {
    background-color: #334155 !important;
}

.dark .text-slate-800,
.dark .text-slate-700 {
    color: #e2e8f0 !important;
}

.dark .text-slate-600 {
    color: #cbd5e1 !important;
}

.dark .text-slate-500 {
    color: #94a3b8 !important;
}

.dark .text-slate-400 {
    color: #64748b !important;
}

.dark .border-slate-200,
.dark .border-slate-100 {
    border-color: #334155 !important;
}

.dark .border-slate-300 {
    border-color: #475569 !important;
}

/* Header ve Sidebar */
.dark aside,
.dark #sidebar,
.dark aside.bg-white {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

.dark header,
.dark header.bg-white,
.dark header.bg-transparent {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

/* Input ve form elemanlar� */
.dark input,
.dark textarea,
.dark select {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

.dark input::placeholder,
.dark textarea::placeholder {
    color: #64748b !important;
}

.dark input:focus,
.dark textarea:focus,
.dark select:focus {
    border-color: #6366f1 !important;
    background-color: #1e293b !important;
}

/* Kartlar ve kutular */
.dark .card-hoverable,
.dark .bg-white.rounded,
.dark .bg-white.rounded-xl,
.dark .bg-white.rounded-2xl {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

.dark .shadow-sm,
.dark .shadow,
.dark .shadow-lg {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Butonlar */
.dark button.bg-white {
    background-color: #1e293b !important;
    color: #e2e8f0 !important;
}

/* Linkler */
.dark a.text-slate-600,
.dark a.text-slate-700,
.dark a.text-slate-800 {
    color: #cbd5e1 !important;
}

.dark a:hover {
    color: #e2e8f0 !important;
}

/* Modal ve overlay */
.dark .modal-overlay {
    background: rgba(0, 0, 0, 0.8) !important;
}

.dark .modal-content {
    background-color: #1e293b !important;
    color: #e2e8f0 !important;
}

/* Scrollbar dark mode */
.dark ::-webkit-scrollbar-thumb {
    background: #475569 !important;
}

.dark ::-webkit-scrollbar-track {
    background: #1e293b !important;
}

.dark * {
    scrollbar-color: #475569 #1e293b !important;
}

/* �zel s�n�flar */
.dark .bg-gradient-to-br.from-slate-50.to-slate-100 {
    background: #0f172a !important;
}

/* Hover efektleri */
.dark .hover\:bg-slate-50:hover,
.dark .hover\:bg-slate-100:hover {
    background-color: #334155 !important;
}

.dark .hover\:bg-white:hover {
    background-color: #334155 !important;
}

/* Border renkleri */
.dark .border-white {
    border-color: #334155 !important;
}

/* Text renkleri i�in �zel durumlar */
.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
    color: #f1f5f9 !important;
}

/* Badge ve etiketler */
.dark .bg-indigo-50,
.dark .bg-blue-50,
.dark .bg-green-50,
.dark .bg-yellow-50,
.dark .bg-red-50,
.dark .bg-purple-50 {
    background-color: #334155 !important;
}

/* Progress bar ve loading */
/* Dropdown ve men�ler */
.dark .dropdown-menu,
.dark .menu-content {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

/* Tab ve sekme */
/*.dark .tab-content {
    background-color: #1e293b !important;
}*/

.dark .tab-button.active {
    background-color: #334155 !important;
    color: #e2e8f0 !important;
}

/* Table */
.dark table {
    background-color: #1e293b !important;
}

.dark th,
.dark td {
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

.dark thead {
    background-color: #334155 !important;
}

/* Alert ve notification */
.dark .alert,
.dark .notification {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

/* Daha spesifik dark mode stilleri */
.dark .bg-gradient-to-br.from-slate-50.to-slate-100,
.dark body.bg-gradient-to-br.from-slate-50.to-slate-100 {
    background: transparent !important;
}

.dark .text-white {
    color: #f1f5f9 !important;
}

.dark .bg-indigo-50,
.dark .bg-purple-50,
.dark .bg-blue-50,
.dark .bg-green-50,
.dark .bg-yellow-50,
.dark .bg-red-50 {
    background-color: #1e293b !important;
}

/* Bilgilendirme kutusu için dark mode */
.dark .bg-gradient-to-r.from-indigo-50.to-purple-50,
.dark .bg-gradient-to-r.from-indigo-100.to-purple-100 {
    background: linear-gradient(to right, #1e293b, #334155) !important;
    border-color: #475569 !important;
}

.dark .bg-indigo-100,
.dark .bg-indigo-200 {
    background-color: #334155 !important;
}

.dark .text-indigo-600,
.dark .text-indigo-700 {
    color: #818cf8 !important;
}

.dark .border-indigo-100,
.dark .border-indigo-200 {
    border-color: #475569 !important;
}

/* Duyuru kartları için dark mode */
.dark .bg-gradient-to-r.from-pink-50.to-red-50,
.dark .bg-gradient-to-r.from-pink-100.to-red-100,
.dark .bg-gradient-to-r.from-blue-50.to-indigo-50,
.dark .bg-gradient-to-r.from-blue-100.to-indigo-100,
.dark .bg-gradient-to-r.from-orange-50.to-red-50,
.dark .bg-gradient-to-r.from-orange-100.to-red-100,
.dark .bg-gradient-to-r.from-green-50.to-emerald-50,
.dark .bg-gradient-to-r.from-green-100.to-emerald-100 {
    background: linear-gradient(to right, #1e293b, #334155) !important;
    border-color: #475569 !important;
}

.dark .bg-pink-500,
.dark .bg-pink-600,
.dark .bg-blue-500,
.dark .bg-blue-600,
.dark .bg-orange-500,
.dark .bg-orange-600,
.dark .bg-green-500,
.dark .bg-green-600 {
    background-color: #475569 !important;
}

.dark .bg-red-500,
.dark .bg-red-600 {
    background-color: #dc2626 !important;
}

.dark .border-pink-100,
.dark .border-pink-200,
.dark .border-blue-100,
.dark .border-blue-200,
.dark .border-orange-100,
.dark .border-orange-200,
.dark .border-green-100,
.dark .border-green-200 {
    border-color: #475569 !important;
}

/* Sidebar menü öğeleri */
.dark aside nav a {
    color: #cbd5e1 !important;
}

.dark aside nav a:hover {
    background-color: #334155 !important;
    color: #e2e8f0 !important;
}

/* Header arama kutusu */
.dark header input {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

.dark header input::placeholder {
    color: #64748b !important;
}

/* Footer */
.dark footer {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

/* Main elementi için özel animasyonlu gradient - Belirgin koyu renkler */
.dark main,
.dark main.flex-1,
html.dark main,
html.dark main.flex-1 {
    background: radial-gradient(80% 60% at 50% 40%, rgba(49, 64, 105, 0.35) 0%, rgba(15, 23, 42, 0.9) 55%, #0b1224 100%);
    position: relative;
    min-height: 100vh;
}
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
/* Yuvarlak baloncuklar için animasyonlar */
@keyframes floatBubble1 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -75px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(100px, -50px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(50px, -100px) scale(1.05);
        opacity: 0.6;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

@keyframes floatBubble2 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(-75px, 50px) scale(0.95);
        opacity: 0.6;
    }
    50% {
        transform: translate(-100px, 100px) scale(1.15);
        opacity: 0.3;
    }
    75% {
        transform: translate(-50px, 75px) scale(1.05);
        opacity: 0.5;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
}

@keyframes floatBubble3 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.35;
    }
    33% {
        transform: translate(75px, 75px) scale(1.1);
        opacity: 0.5;
    }
    66% {
        transform: translate(-50px, 100px) scale(0.9);
        opacity: 0.4;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.35;
    }
}

@keyframes floatBubble4 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.25;
    }
    25% {
        transform: translate(100px, -25px) scale(1.1);
        opacity: 0.4;
    }
    50% {
        transform: translate(75px, -100px) scale(0.95);
        opacity: 0.3;
    }
    75% {
        transform: translate(-25px, -75px) scale(1.05);
        opacity: 0.45;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.25;
    }
}

/* Baloncuk elementleri - scroll oluşturmaması için overflow kontrolü */
.dark main::before,
.dark main::after,
html.dark main::before,
html.dark main::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    /* Animasyonların main dışına taşmasını engelle */
    max-width: 100%;
    max-height: 100%;
}

.dark main::before {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(83, 52, 131, 0.4) 0%, rgba(26, 10, 46, 0.2) 50%, transparent 100%);
    top: 10%;
    left: 10%;
    animation: floatBubble1 20s ease-in-out infinite;
    /* Animasyonu main içinde tut */
    transform-origin: center;
}

.dark main::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(15, 52, 96, 0.3) 0%, rgba(22, 33, 62, 0.2) 50%, transparent 100%);
    bottom: 15%;
    right: 15%;
    animation: floatBubble2 25s ease-in-out infinite;
    /* Animasyonu main içinde tut */
    transform-origin: center;
}

/* JavaScript ile oluşturulan baloncuklar */
.dark main {
    position: relative;
}

.dark main .gradient-bubble,
html.dark main .gradient-bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(40px);
    will-change: transform;
}
