:root {
    --bg-primary: #0f0a1a;
    --bg-secondary: #1a1030;
    --bg-card: rgba(30, 15, 60, 0.95);
    --bg-card-hover: rgba(46, 16, 101, 0.8);
    --bg-input: rgba(255, 255, 255, 0.07);
    --text-primary: #f3e8ff;
    --text-secondary: #d8c7ff;
    --text-muted: #a78bfa;
    --accent-primary: #8b5cf6;
    --accent-secondary: #a855f7;
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #c084fc 100%);
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --border-radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.4);
    --shadow-bottom: 0 -4px 20px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Full Screen Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow: hidden;
    position: fixed;
    touch-action: pan-y;
}

body {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0f0a1a 0%, #1a1030 100%);
    -webkit-overflow-scrolling: touch;
}

/* Main Container */
.nova-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(135deg, #0f0a1a 0%, #1a1030 100%);
    overflow: hidden;
}

/* Header */
.nova-header {
    background: var(--accent-gradient);
    padding: 1rem 1.25rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    min-height: 60px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nova-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.nova-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
}

.nova-user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    max-width: 40%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nova-user-info i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.nova-header h1 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nova-icon-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.nova-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Content Area */
.nova-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.25rem;
    padding-bottom: 80px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nova-content::-webkit-scrollbar {
    display: none;
}

.nova-panel {
    width: 100%;
    animation: fadeIn 0.3s ease;
    padding-bottom: 1rem;
    min-height: calc(100vh - 140px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.nova-logo {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-top: 1rem;
}

.nova-logo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.nova-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.nova-logo p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Role Selector */
.nova-role-selector {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.nova-role-btn {
    flex: 1;
    padding: 1rem 0.75rem;
    border-radius: var(--border-radius-sm);
    background: transparent;
    border: 2px solid transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.nova-role-btn i {
    font-size: 1.3rem;
}

.nova-role-btn.active {
    background: rgba(168, 85, 247, 0.3);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

/* Input Groups */
.nova-input-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.nova-input-with-icon {
    position: relative;
    width: 100%;
}

.nova-input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 1;
    font-size: 1.1rem;
}

.nova-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--border-radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(10px);
}

.nova-input:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.3);
}

.nova-input::placeholder {
    color: rgba(243, 232, 255, 0.5);
}

.nova-select-wrapper {
    position: relative;
    width: 100%;
}

.nova-select-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 1;
    font-size: 1.1rem;
}

.nova-select-wrapper select {
    padding-left: 3rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238b5cf6' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    background-color: var(--bg-input);
}

.nova-password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    z-index: 1;
    font-size: 1.1rem;
}

.nova-password-toggle:hover {
    color: var(--accent-secondary);
}

/* Buttons */
.nova-btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-sm);
    background: var(--accent-gradient);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    width: 100%;
    min-height: 56px;
}

.nova-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.nova-btn-primary {
    background: var(--accent-gradient);
}

.nova-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.nova-btn-secondary:active {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
}

.nova-btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
}

.nova-btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.nova-btn-danger:active {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.nova-btn-group {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.nova-btn-group .nova-btn {
    flex: 1;
}

.nova-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    user-select: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nova-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-secondary);
}

.nova-message {
    min-height: 1.2rem;
    font-size: 0.9rem;
    text-align: center;
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    margin-top: 0.5rem;
    backdrop-filter: blur(10px);
}

.nova-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.nova-message.success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Student List Container */
.nova-student-list-container {
    background: rgba(30, 15, 60, 0.4);
    border-radius: var(--border-radius);
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin: 1.5rem 0;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.nova-student-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Student List - Scrollable */
.nova-student-list {
    max-height: 370px;
    overflow-y: auto;
    padding: 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nova-student-list::-webkit-scrollbar {
    display: none;
}

.nova-student-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: var(--transition);
    margin-bottom: 0.75rem;
    backdrop-filter: blur(10px);
    touch-action: pan-y;
}

.nova-student-card:active {
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.nova-student-card input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--accent-secondary);
    flex-shrink: 0;
}

.nova-student-info {
    flex: 1;
}

.nova-student-info strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.nova-student-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Kıyafet Kontrol */
.nova-kiyafet-neden {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    width: 100%;
}

.kiyafet-neden-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: rgba(30, 15, 60, 0.7);
    color: var(--text-primary);
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.kiyafet-neden-input::placeholder {
    color: rgba(243, 232, 255, 0.5);
}

/* Admin Panel */
.nova-admin-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nova-admin-btn {
    flex: 1;
    min-width: 150px;
    padding: 1.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.nova-admin-btn:active {
    background: rgba(168, 85, 247, 0.2);
    transform: translateY(-2px);
}

/* Bottom Navigation */
.nova-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 16, 48, 0.95);
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0.5rem;
    box-shadow: var(--shadow-bottom);
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 70px;
    flex-shrink: 0;
}

.nova-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    flex: 1;
    max-width: 80px;
    min-height: 56px;
    touch-action: manipulation;
}

.nova-bottom-nav-item:active {
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.15);
}

.nova-bottom-nav-item.active {
    color: var(--accent-secondary);
    background: rgba(168, 85, 247, 0.25);
}

.nova-bottom-nav-item i {
    font-size: 1.3rem;
}

.nova-bottom-nav-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Preloader */
.nova-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.nova-loader {
    width: 70px;
    height: 70px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top: 3px solid var(--accent-secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nova-preloader-text {
    text-align: center;
}

.nova-preloader-text h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.nova-preloader-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Class List */
.nova-class-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nova-class-item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.nova-class-item:active {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.nova-class-header {
    padding: 1.25rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.nova-class-header:active {
    background: rgba(168, 85, 247, 0.1);
}

.nova-class-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.nova-class-controls {
    display: none;
    padding: 0 1rem 1.25rem;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: rgba(30, 15, 60, 0.5);
}

.nova-class-item.active .nova-class-controls {
    display: flex;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nova-class-controls .nova-btn {
    min-width: 140px;
    padding: 0.875rem;
    font-size: 0.95rem;
}

.nova-password-display {
    padding: 1rem;
    margin-top: 0.5rem;
    background: rgba(168, 85, 247, 0.15);
    border: 2px solid var(--accent-secondary);
    border-radius: var(--border-radius-sm);
    color: var(--accent-secondary);
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Teacher Cards */
.nova-teacher-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: var(--transition);
    margin-bottom: 0.75rem;
    backdrop-filter: blur(10px);
}

.nova-teacher-card:active {
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.nova-teacher-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nova-teacher-name {
    font-weight: 600;
    font-size: 1.1rem;
    flex: 1;
}

.nova-teacher-rating {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.puan {
    background: rgba(139, 92, 246, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: var(--accent-secondary);
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.nova-rating-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.nova-rating-btn {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    flex: 1;
    min-width: 50px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.nova-rating-btn:active {
    background: rgba(168, 85, 247, 0.3);
    transform: scale(0.95);
}

/* Kıyafet Sonuçları Stilleri */
.nova-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.nova-stat-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.nova-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nova-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.nova-stat-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.nova-stat-content p {
    margin: 5px 0 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.nova-search-box {
    position: relative;
    margin-bottom: 15px;
}

.nova-search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.nova-search-box input {
    padding-left: 45px;
}

.nova-filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.nova-result-container {
    max-height: 600px;
    overflow-y: auto;
}

.nova-result-header {
    display: grid;
    grid-template-columns: 1fr 0.8fr 2fr 1fr 1.5fr 0.8fr;
    gap: 10px;
    padding: 15px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.nova-result-item {
    display: grid;
    grid-template-columns: 1fr 0.8fr 2fr 1fr 1.5fr 0.8fr;
    gap: 10px;
    padding: 15px;
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 10px;
    align-items: center;
    transition: var(--transition);
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
}

.nova-result-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateX(2px);
}

.nova-result-item.high-warning {
    border-left: 4px solid var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.nova-result-item.medium-warning {
    border-left: 4px solid var(--warning);
    background: rgba(245, 158, 11, 0.1);
}

.nova-result-item.low-warning {
    border-left: 4px solid var(--success);
    background: rgba(16, 185, 129, 0.1);
}

.kontrol-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 40px;
}

.kontrol-high {
    background: linear-gradient(135deg, var(--danger), #ff416c);
    color: white;
}

.kontrol-medium {
    background: linear-gradient(135deg, var(--warning), #ffb347);
    color: var(--text-primary);
}

.kontrol-low {
    background: linear-gradient(135deg, var(--success), #42e695);
    color: white;
}

.nedenler-popup {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    max-width: 500px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: var(--shadow-glow);
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(20px);
}

.nedenler-popup h3 {
    margin-top: 0;
    color: var(--accent-primary);
    border-bottom: 2px solid var(--accent-secondary);
    padding-bottom: 10px;
}

.neden-item {
    background: rgba(30, 15, 60, 0.7);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border-left: 3px solid var(--accent-primary);
}

.neden-tarih {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.neden-text {
    color: var(--text-primary);
    line-height: 1.5;
}

.neden-text strong {
    color: var(--accent-primary);
    margin-right: 5px;
}

.nova-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.nova-empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.nova-empty-state p {
    font-size: 16px;
    margin: 0;
}

/* Panel Header Stilleri */
.nova-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.panel-header-left {
    flex: 1;
    min-width: 300px;
}

.panel-header-left .panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.panel-header-left .panel-title i {
    font-size: 24px;
    color: var(--accent-primary);
}

.panel-header-left .panel-title h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.panel-header-left .panel-subtitle {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.panel-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.action-buttons {
    display: flex;
    gap: 5px;
}

/* İndirme Butonları */
.download-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-pdf {
    background: linear-gradient(135deg, #f44336, #e53935);
    color: white;
    border: none;
}

.btn-excel {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: none;
}

.btn-csv {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
    border: none;
}

.nova-btn-small {
    padding: 10px 20px;
    font-size: 14px;
    min-height: 44px;
}

/* Tooltip */
.nova-tooltip {
    position: relative;
}

.nova-tooltip::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1000;
}

.nova-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Loading spinner */
.nova-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

/* Bildirimler */
.download-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    backdrop-filter: blur(10px);
}

.download-notification.error {
    background: var(--danger);
}

.download-notification.warning {
    background: var(--warning);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Popup Stilleri */
.nova-custom-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.nova-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.2s ease;
}

.nova-popup-content {
    position: relative;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-info {
    background: rgba(30, 15, 60, 0.7);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 25px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nedenler-popup h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nedenler-listesi {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    margin-bottom: 20px;
    max-height: 50vh;
    -webkit-overflow-scrolling: touch;
}

.popup-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 92, 246, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .nova-header {
        padding: 0.875rem 1rem;
        min-height: 56px;
    }
    
    .nova-header h1 {
        font-size: 1.2rem;
    }
    
    .nova-content {
        padding: 1rem;
        padding-bottom: 70px;
    }
    
    .nova-logo-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .nova-logo h2 {
        font-size: 1.3rem;
    }
    
    .nova-role-btn {
        padding: 0.875rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .nova-role-btn i {
        font-size: 1.2rem;
    }
    
    .nova-btn {
        padding: 0.875rem 1.25rem;
        min-height: 52px;
    }
    
    .nova-bottom-nav {
        height: 65px;
        padding: 0.5rem;
    }
    
    .nova-bottom-nav-item {
        padding: 0.5rem 0.25rem;
        min-height: 50px;
    }
    
    .nova-bottom-nav-item i {
        font-size: 1.2rem;
    }
    
    .nova-bottom-nav-item span {
        font-size: 0.75rem;
    }
    
    .nova-class-controls .nova-btn {
        min-width: 100%;
    }
    
    .nova-admin-btn {
        min-width: 100%;
    }
    
    .nova-teacher-card {
        padding: 1rem 0.875rem;
    }
    
    .nova-rating-btn {
        padding: 0.625rem 0.875rem;
        min-width: 45px;
    }
    
    .nova-student-list {
        max-height: 370px;
    }
    
    /* Mobile Optimizasyonları */
    .nova-custom-popup {
        padding: 10px;
        align-items: flex-end;
    }
    
    .nova-popup-content {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
        padding: 20px;
        animation: mobilePopupSlideIn 0.3s ease;
        margin-bottom: 0;
    }
    
    @keyframes mobilePopupSlideIn {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nova-popup-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .popup-actions .nova-btn {
        width: 100%;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .nedenler-listesi {
        max-height: 40vh;
    }
    
    .neden-item {
        padding: 12px;
    }
    
    .nova-result-header,
    .nova-result-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .nova-stat-card {
        padding: 15px;
    }
    
    .nova-filter-actions {
        flex-direction: column;
    }
    
    .nova-filter-actions .nova-btn {
        width: 100%;
    }
    
    .panel-header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .action-group {
        width: 100%;
        justify-content: space-between;
    }
}

/* Tablet için */
@media (min-width: 769px) and (max-width: 1024px) {
    .nova-popup-content {
        max-width: 80%;
        max-height: 80vh;
    }
}

/* iOS için özel düzeltmeler */
@supports (-webkit-touch-callout: none) {
    .nova-content {
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
        height: calc(100vh - 140px - env(safe-area-inset-bottom));
    }
    
    .nova-bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
        height: calc(70px + env(safe-area-inset-bottom));
    }
    
    .nova-student-list,
    .nedenler-listesi {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    
    .nova-popup-content {
        max-height: -webkit-fill-available;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0a0614;
        --bg-secondary: #140d24;
    }
}

/* Disable text selection for buttons */
.nova-btn, .nova-bottom-nav-item, .nova-role-btn, .nova-admin-btn, .nova-rating-btn {
    user-select: none;
    -webkit-user-select: none;
}

/* Improve touch targets */
input, select, button {
    min-height: 44px;
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Smooth scrolling */
* {
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar stilleri */
.nedenler-listesi::-webkit-scrollbar {
    width: 6px;
}

.nedenler-listesi::-webkit-scrollbar-track {
    background: rgba(30, 15, 60, 0.5);
    border-radius: 10px;
}

.nedenler-listesi::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 10px;
}

.nedenler-listesi::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}