/**
 * LetMeKnow - Global Styles
 * Tüm sayfalarda kullanılan genel stiller
 */

@import url('theme-night-owl.css?v=3.5.2');

/* ==================== CSS Variables ==================== */
:root {
    /* Colors - Purple & Navy Theme - Vibrant */
    --color-primary: #9333EA;
    --color-primary-dark: #7E22CE;
    --color-primary-light: #C084FC;
    --color-secondary: #1E40AF;
    --color-secondary-dark: #1E3A8A;
    --color-secondary-light: #3B82F6;

    /* Status Colors */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;
    --color-info: #3B82F6;

    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    --gradient-mixed: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary-dark) 100%);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* New Premium Design Tokens */
    --color-glass-bg: rgba(255, 255, 255, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: 20px;
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    --color-accent-purple: #7c3aed;
    --color-accent-pink: #ec4899;
    --color-accent-blue: #3b82f6;
    --color-accent-emerald: #10b981;
    --color-accent-amber: #f59e0b;

    --gradient-premium: linear-gradient(135deg, var(--color-accent-purple) 0%, var(--color-accent-pink) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

/* Dark Theme */
[data-theme="dark"] {
    --color-bg-primary: var(--color-gray-900);
    --color-bg-secondary: var(--color-gray-800);
    --color-bg-tertiary: var(--color-gray-700);
    --color-text-primary: var(--color-gray-100);
    --color-text-secondary: var(--color-gray-300);
    --color-border: var(--color-gray-700);
}

/* Light Theme */
[data-theme="light"] {
    --color-bg-primary: var(--color-white);
    --color-bg-secondary: var(--color-gray-50);
    --color-bg-tertiary: var(--color-gray-100);
    --color-text-primary: var(--color-gray-900);
    --color-text-secondary: var(--color-gray-600);
    --color-border: var(--color-gray-200);
}

/* ==================== Reset & Base ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-bg-secondary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== Typography ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-bold);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

/* ==================== Layout ==================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.grid {
    display: grid;
    gap: var(--space-md);
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==================== Buttons ==================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    gap: var(--space-sm);
    overflow: hidden;
    white-space: nowrap;
}

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

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn:focus-visible {
    outline: 3px solid rgba(147, 51, 234, 0.4);
    outline-offset: 2px;
}

/* Primary Button */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.btn-secondary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.btn-secondary:active:not(:disabled) {
    transform: translateY(0);
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Warning Button */
.btn-warning {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: none;
}

.btn-outline:hover:not(:disabled) {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.2);
}

.btn-outline-secondary {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline-secondary:hover:not(:disabled) {
    background: var(--color-secondary);
    color: var(--color-white);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--color-text-primary);
    box-shadow: none;
}

.btn-ghost:hover:not(:disabled) {
    background: var(--color-bg-tertiary);
    transform: translateY(-1px);
}

/* Soft Buttons (Subtle background) */
.btn-soft-primary {
    background: rgba(147, 51, 234, 0.1);
    color: var(--color-primary);
    box-shadow: none;
}

.btn-soft-primary:hover:not(:disabled) {
    background: rgba(147, 51, 234, 0.2);
    transform: translateY(-1px);
}

.btn-soft-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.btn-soft-success:hover:not(:disabled) {
    background: rgba(16, 185, 129, 0.2);
}

/* Icon Buttons */
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn-icon-sm {
    width: 32px;
    height: 32px;
    font-size: var(--text-sm);
}

.btn-icon-lg {
    width: 48px;
    height: 48px;
    font-size: var(--text-xl);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-lg);
    border-radius: var(--radius-xl);
}

.btn-xl {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-xl);
    border-radius: var(--radius-xl);
}

/* Button with Icon */
.btn .btn-icon-left {
    margin-right: var(--space-xs);
}

.btn .btn-icon-right {
    margin-left: var(--space-xs);
}

/* Loading Button */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Button Group */
.btn-group {
    display: inline-flex;
    gap: 0;
}

.btn-group .btn {
    border-radius: 0;
    margin-left: -1px;
}

.btn-group .btn:first-child {
    border-top-left-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
    margin-left: 0;
}

.btn-group .btn:last-child {
    border-top-right-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

.btn-group .btn:hover {
    z-index: 1;
}

/* Floating Action Button */
.btn-fab {
    position: fixed;
    bottom: var(--space-2xl);
    right: var(--space-2xl);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: var(--z-sticky);
}

.btn-fab:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Pill Button */
.btn-pill {
    border-radius: var(--radius-full);
}

/* Block Button */
.btn-block {
    width: 100%;
    display: flex;
}

/* Apple-Style Action Icon Button */
.action-icon-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    border: none !important;
    background: var(--color-bg-secondary, #f8fafc) !important;
    color: var(--color-text-secondary, #64748b) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    padding: 0 !important;
}

.action-icon-btn svg {
    width: 15px !important;
    height: 15px !important;
    stroke-width: 2 !important;
    transition: transform 0.2s ease !important;
}

.action-icon-btn:hover {
    background: rgba(124, 58, 237, 0.1) !important;
    color: #7c3aed !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.18) !important;
}

.action-icon-btn:active {
    transform: scale(0.92) !important;
}

.action-icon-btn.delete:hover {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.18) !important;
}

/* ==================== Hide Modal Scrollbars (Keep Scrolling Active) ==================== */
.modal-container,
.modal-body,
.modal-content,
.modal-card,
.focus-modal-card,
.cg-modal-card {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.modal-container::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.modal-content::-webkit-scrollbar,
.modal-card::-webkit-scrollbar,
.focus-modal-card::-webkit-scrollbar,
.cg-modal-card::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* ==================== Cards ==================== */
.card {
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    margin-bottom: var(--space-lg);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-sm);
}

.card-gradient {
    background: var(--gradient-mixed);
    color: var(--color-white);
    border: none;
}

/* ==================== Forms ==================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-base);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    color: var(--color-error);
    font-size: var(--text-sm);
    margin-top: var(--space-xs);
}

/* ==================== Badges ==================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    border-radius: var(--radius-full);
    gap: var(--space-xs);
}

.badge-primary {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}

.badge-success {
    background: #D1FAE5;
    color: var(--color-success);
}

.badge-warning {
    background: #FEF3C7;
    color: var(--color-warning);
}

.badge-error {
    background: #FEE2E2;
    color: var(--color-error);
}

.badge-info {
    background: #DBEAFE;
    color: var(--color-info);
}

/* ==================== Alerts ==================== */
.alert {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: start;
    gap: var(--space-sm);
}

.alert-success {
    background: #D1FAE5;
    color: var(--color-success);
    border-left: 4px solid var(--color-success);
}

.alert-warning {
    background: #FEF3C7;
    color: var(--color-warning);
    border-left: 4px solid var(--color-warning);
}

.alert-error {
    background: #FEE2E2;
    color: var(--color-error);
    border-left: 4px solid var(--color-error);
}

.alert-info {
    background: #DBEAFE;
    color: var(--color-info);
    border-left: 4px solid var(--color-info);
}

/* ==================== Loading ==================== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-gray-200);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
}

/* ==================== Modal ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn var(--transition-base);
}

.modal-content {
    position: relative;
    background: var(--color-bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    animation: slideUp var(--transition-base);
    z-index: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== Utility Classes ==================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.font-bold {
    font-weight: var(--font-bold);
}

.font-semibold {
    font-weight: var(--font-semibold);
}

.font-medium {
    font-weight: var(--font-medium);
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-success {
    color: var(--color-success);
}

.text-warning {
    color: var(--color-warning);
}

.text-error {
    color: var(--color-error);
}

.hidden {
    display: none !important;
}

/* ==================== Sidebar Premium ==================== */
.sidebar {
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: transform var(--transition-base);
}

.sidebar-brand {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.brand-logo {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 10px 20px rgba(147, 51, 234, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.sidebar-brand:hover .brand-logo {
    transform: scale(1.05) rotate(-2deg);
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-gray-900);
    letter-spacing: -0.03em;
}

.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding: 0 1.25rem;
    margin-bottom: 2rem;
}

.menu-section {
    margin-bottom: 1.5rem;
}

.menu-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0 1rem;
    margin-bottom: 0.75rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    color: var(--color-gray-600);
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    margin-bottom: 0.25rem;
}

.menu-item:hover {
    background: var(--color-gray-50);
    color: var(--color-primary);
    transform: translateX(4px);
}

.menu-item.active {
    background: rgba(147, 51, 234, 0.1);
    color: var(--color-primary);
    font-weight: 700;
    border-left: 3px solid var(--color-primary);
    padding-left: calc(1rem - 3px);
}

.menu-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

/* Sidebar Footer & User Card */
.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-gray-50);
    padding: 0.75rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.user-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.user-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: 0.7rem;
    color: var(--color-gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logout-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
}

.logout-btn:hover {
    background: #FEF2F2;
    color: var(--color-error);
    border-color: #FEE2E2;
}

[data-theme="dark"] .user-card,
[data-theme="night-owl"] .user-card {
    background: var(--bg-card, #0e162c);
    border-color: var(--border-color, rgba(139, 92, 246, 0.25));
}
[data-theme="dark"] .user-name,
[data-theme="night-owl"] .user-name {
    color: var(--text-primary, #ffffff);
}
[data-theme="dark"] .user-email,
[data-theme="night-owl"] .user-email {
    color: var(--text-muted, #94a3b8);
}
[data-theme="dark"] .logout-btn,
[data-theme="night-owl"] .logout-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #cbd5e1;
}
[data-theme="dark"] .logout-btn:hover,
[data-theme="night-owl"] .logout-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ffffff;
}

.logout-btn svg {
    width: 18px;
    height: 18px;
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1025;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -280px;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .sidebar.open {
        left: 0;
    }
}

.visible {
    display: block !important;
}

.mt-auto {
    margin-top: auto;
}

.mb-auto {
    margin-bottom: auto;
}

.ml-auto {
    margin-left: auto;
}

.mr-auto {
    margin-right: auto;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .modal {
        width: 95%;
        padding: var(--space-lg);
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: var(--text-3xl);
    }

    h2 {
        font-size: var(--text-2xl);
    }

    h3 {
        font-size: var(--text-xl);
    }
}

/* ==================== Dynamic Settings ==================== */

/* Dark Theme Styles */
[data-theme="dark"] body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e4e4e7;
}

[data-theme="dark"] .sidebar {
    background: rgba(26, 26, 46, 0.95);
    border-right-color: #2d2d44;
}

[data-theme="dark"] .settings-card,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .card,
[data-theme="dark"] .settings-nav,
[data-theme="dark"] .meeting-card,
[data-theme="dark"] .exam-card {
    background: rgba(30, 30, 46, 0.8);
    border-color: #2d2d44;
    color: #e4e4e7;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-input:focus {
    background: rgba(22, 22, 34, 0.6);
    border-color: #3d3d5c;
    color: #e4e4e7;
}

[data-theme="dark"] .section-title,
[data-theme="dark"] .card-title,
[data-theme="dark"] .setting-title {
    color: #f4f4f5;
}

[data-theme="dark"] .setting-description,
[data-theme="dark"] .section-description {
    color: #a1a1aa;
}

/* Auto Theme - follows system preference */
@media (prefers-color-scheme: dark) {
    [data-theme="auto"] body {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        color: #e4e4e7;
    }

    [data-theme="auto"] .sidebar {
        background: rgba(26, 26, 46, 0.95);
        border-right-color: #2d2d44;
    }

    [data-theme="auto"] .settings-card,
    [data-theme="auto"] .stat-card,
    [data-theme="auto"] .card {
        background: rgba(30, 30, 46, 0.8);
        border-color: #2d2d44;
        color: #e4e4e7;
    }
}

/* Color Schemes */
[data-color-scheme="blue"] {
    --primary-color: #8B5CF6;
    --primary-gradient: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

[data-color-scheme="purple"] {
    --primary-color: #667eea;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[data-color-scheme="green"] {
    --primary-color: #34a853;
    --primary-gradient: linear-gradient(135deg, #34a853 0%, #1e8e3e 100%);
}

[data-color-scheme="red"] {
    --primary-color: #ea4335;
    --primary-gradient: linear-gradient(135deg, #ea4335 0%, #c5221f 100%);
}

[data-color-scheme="orange"] {
    --primary-color: #fbbc04;
    --primary-gradient: linear-gradient(135deg, #fbbc04 0%, #f57c00 100%);
}

/* Apply color scheme to buttons and accents */
.btn-primary,
.add-meeting-btn,
.stat-card.purple .stat-icon {
    background: var(--primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%)) !important;
}

.settings-nav-item.active {
    background: var(--primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%)) !important;
}

/* Font Size Adjustments */
html[data-font-size="12"] {
    font-size: 12px !important;
}

html[data-font-size="13"] {
    font-size: 13px !important;
}

html[data-font-size="14"] {
    font-size: 14px !important;
}

html[data-font-size="15"] {
    font-size: 15px !important;
}

html[data-font-size="16"] {
    font-size: 16px !important;
}

html[data-font-size="17"] {
    font-size: 17px !important;
}

html[data-font-size="18"] {
    font-size: 18px !important;
}

html[data-font-size="19"] {
    font-size: 19px !important;
}

html[data-font-size="20"] {
    font-size: 20px !important;
}

/* Compact Mode */
.compact-mode .settings-card,
.compact-mode .stat-card,
.compact-mode .card {
    padding: 1rem 1.25rem !important;
}

.compact-mode .setting-item {
    padding: 0.75rem 0 !important;
}

.compact-mode .section-header {
    margin-bottom: 1rem !important;
}

.compact-mode .form-group {
    margin-bottom: 0.75rem !important;
}

/* Animations Disabled */
.no-animations,
.no-animations * {
    animation: none !important;
    transition: none !important;
}

/* High Contrast Mode */
.high-contrast {
    --color-bg-primary: #000000;
    --color-bg-secondary: #1a1a1a;
    --color-text-primary: #ffffff;
    --color-border: #ffffff;
}

.high-contrast .settings-card,
.high-contrast .stat-card,
.high-contrast .card {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.high-contrast .form-input {
    background: #1a1a1a !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.high-contrast .btn-primary {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
}

/* Color Blind Mode */
.color-blind {
    filter: grayscale(50%);
}

.color-blind .btn-primary,
.color-blind .stat-icon {
    border: 3px solid #000000;
}

/* Reduce Motion */
.reduce-motion,
.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* Focus Indicator Enhancement - Blue outlines disabled */
.focus-indicator-enhanced *:focus,
.focus-indicator-enhanced *:focus-visible {
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
}

/* Screen Reader Optimization */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Keyboard Shortcuts Disabled */
.no-keyboard-shortcuts {
    pointer-events: auto;
}

/* Language Specific Adjustments */
html[lang="en"] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html[lang="tr"] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', sans-serif;
}

html[lang="de"],
html[lang="fr"],
html[lang="es"] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ==================== Sidebar Navigation (Dynamically Injected) ==================== */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: var(--color-gray-600);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

/* Dark theme adjustment */
[data-theme="dark"] .nav-item {
    color: var(--color-gray-400);
}

.nav-item:hover {
    background: var(--color-gray-100);
    color: var(--color-gray-900);
}

[data-theme="dark"] .nav-item:hover {
    background: var(--color-gray-800);
    color: var(--color-gray-100);
}

/* Active State - Purple Highlight */
.nav-item.active {
    background: rgba(124, 58, 237, 0.1);
    /* Purple background tint */
    color: #7C3AED;
    /* Purple text */
    font-weight: 600;
}

/* Dark theme active state */
[data-theme="dark"] .nav-item.active {
    background: rgba(124, 58, 237, 0.2);
    color: #A78BFA;
    /* Lighter purple for dark mode */
}

.nav-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
}

.nav-divider {
    margin: 0.5rem 0;
    border-top: 1px solid var(--color-gray-200);
    padding-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-left: 1rem;
}

[data-theme="dark"] .nav-divider {
    border-color: var(--color-gray-700);
    color: var(--color-gray-500);
}

/* Modern Floating 3D Interface Design */
.modern-about-composition {
    width: 100%;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8), rgba(249, 250, 251, 1));
    border-radius: 30px;
    overflow: visible;
}

/* Ambient Gradient Background */
.ambient-gradient-blobs {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    border-radius: 30px;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: blobFloat 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #A855F7, #EC4899);
    top: -50px;
    left: -50px;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #22D3EE, #3B82F6);
    bottom: -30px;
    right: -30px;
    animation-delay: -5s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #FBBF24, #F87171);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -2s;
    opacity: 0.4;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -50px) scale(1.1);
    }
}

/* Main Glass Card */
.floating-glass-card {
    width: 380px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 2rem;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(255, 255, 255, 0.5) inset;
    transform: rotateY(-8deg) rotateX(5deg);
    transition: transform 0.3s ease;
    z-index: 10;
    animation: cardFloat 6s ease-in-out infinite;
    position: relative;
}

.main-card:hover {
    transform: rotateY(-4deg) rotateX(2deg) scale(1.02);
}

@keyframes cardFloat {

    0%,
    100% {
        transform: rotateY(-8deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: rotateY(-8deg) rotateX(5deg) translateY(-15px);
    }
}

.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.glass-dots {
    display: flex;
    gap: 6px;
}

.glass-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
}

.glass-dots span:nth-child(1) {
    background: #EF4444;
}

.glass-dots span:nth-child(2) {
    background: #F59E0B;
}

.glass-dots span:nth-child(3) {
    background: #10B981;
}

.glass-badge {
    background: rgba(139, 92, 246, 0.1);
    color: #7C3AED;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.glass-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.glass-chart-area {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    padding-bottom: 5px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.chart-bar {
    width: 12px;
    border-radius: 4px;
    background: linear-gradient(to top, #A855F7, #C084FC);
}

.chart-bar.b1 {
    height: 40%;
    animation: growBar 2s infinite alternate;
}

.chart-bar.b2 {
    height: 70%;
    animation: growBar 2.2s infinite alternate;
}

.chart-bar.b3 {
    height: 50%;
    animation: growBar 1.8s infinite alternate;
}

.chart-bar.b4 {
    height: 90%;
    animation: growBar 2.5s infinite alternate;
}

@keyframes growBar {
    0% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(0.8);
    }
}

.glass-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #1F2937;
}

.glass-info p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    color: #6B7280;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 20;
    transform: translateZ(30px);
    transition: all 0.3s ease;
}

.floating-element:hover {
    transform: translateZ(50px) scale(1.1);
}

.float-icon {
    font-size: 1.5rem;
}

.float-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.float-ai {
    top: -50px;
    right: -20px;
    animation: floatBadge 5s ease-in-out infinite;
    background: linear-gradient(135deg, #fff, #f0f9ff);
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.float-check {
    bottom: 50px;
    right: -60px;
    width: 60px;
    height: 60px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    animation: floatBadge 6s ease-in-out infinite 1s;
    background: linear-gradient(135deg, #fff, #f0fdf4);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.float-time {
    bottom: -60px;
    left: -20px;
    animation: floatBadge 7s ease-in-out infinite 2s;
    background: linear-gradient(135deg, #fff, #fff7ed);
    border: 1px solid rgba(251, 146, 60, 0.2);
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   EVRENSEL MODAL SCROLL KİLİDİ (UNIVERSAL MODAL SCROLL LOCK)
   Platform genelinde herhangi bir modal açıkken arka plan kayması engellenir
   ========================================================================== */
html.modal-open,
body.modal-open {
    overflow: hidden !important;
    height: 100% !important;
    position: relative !important;
    touch-action: none !important;
    -webkit-overflow-scrolling: auto !important;
}

.modal,
.modal-overlay,
.modal-backdrop {
    touch-action: pan-y !important;
}