﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --primary-dark: #5568d3;
    --secondary: #764ba2;
    --accent: #f5576c;
    --success: #43e97b;
    --warning: #f5af19;
    --danger: #f5576c;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --text: #2d3436;
    --text-light: #636e72;
    --border: #dfe6e9;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
    
    overflow: auto;
    -webkit-font-smoothing:antialiased;
}



html, body {
    width: 100%;
    min-height: 100%;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.1rem;
}

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

a:hover {
    color: var(--secondary);
}


.auth-screen {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100dvh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    
    align-items: flex-start;
    justify-content: center;
    padding: 40px 18px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.auth-screen.show {
    opacity: 1;
    visibility: visible;
}

.auth-container {
    
    width: min(100%, 720px);
    max-width: 720px;
    padding: clamp(12px, 2.5vw, 28px);
    margin: 24px auto;
    animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    max-height: none;
}

.auth-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: clamp(18px, 3.5vw, 48px) clamp(16px, 3vw, 40px);
    text-align: center;
    position: relative;
}

.auth-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

.brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-logo .brand-logo {
    padding: 6px;
    border-radius: 50%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.22));
}

.user-avatar .brand-logo {
    padding: 3px;
    border-radius: 50%;
}

.brand-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.brand-logo--footer {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.auth-header h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    margin-bottom: 5px;
}

.auth-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.auth-form {
    padding: clamp(18px, 3vw, 36px);
    display: none;
    animation: fadeIn 0.5s ease;
}

.auth-form.show {
    display: block;
}

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

.auth-form h2 {
    margin-bottom: 24px;
    color: var(--text);
    font-size: clamp(18px, 3.5vw, 32px);
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-form h2 i {
    color: var(--primary);
    font-size: 1.8rem;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.auth-form label {
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
    display: block;
}

.auth-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-form .input-wrapper i {
    position: absolute;
    left: 12px;
    color: var(--primary);
    font-size: clamp(16px, 2.2vw, 22px);
    pointer-events: none;
    z-index: 2;
}

.auth-form .input-wrapper input {
    width: 100%;
    padding: clamp(10px, 1.3vw, 14px) clamp(12px, 1.8vw, 20px) clamp(10px, 1.3vw, 14px) clamp(42px, 6vw, 60px);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: clamp(14px, 1.6vw, 18px);
    font-family: inherit;
    color: var(--text);
    background: white;
    transition: var(--transition);
    line-height: 1.1;
}

.auth-form .input-wrapper input:hover {
    border-color: var(--primary);
}

.auth-form .input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    background: #f8f9ff;
}

.auth-logo {
    width: clamp(56px, 8vw, 100px);
    height: clamp(56px, 8vw, 100px);
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.6rem, 3.2vw, 3rem);
    animation: bounce 2s infinite;
}

.auth-toggle {
    margin-top: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
}

.auth-toggle a {
    cursor: pointer;
    transition: var(--transition);
}

.auth-toggle a:hover {
    color: var(--secondary);
    text-decoration: underline;
}


@media (max-height: 900px) {
    .auth-screen {
        padding: 16px 10px;
    }

    .auth-container {
        margin: 0 auto;
        padding: 8px;
    }

    .auth-header {
        padding: 20px 16px;
    }

    .auth-logo {
        width: clamp(48px, 7vw, 72px);
        height: clamp(48px, 7vw, 72px);
        margin-bottom: 10px;
    }

    .auth-header h1 {
        font-size: clamp(1.5rem, 4vw, 2.1rem);
    }

    .auth-header p {
        font-size: 0.9rem;
    }

    .auth-form {
        padding: 16px;
    }

    .auth-form h2 {
        margin-bottom: 14px;
        font-size: clamp(1.2rem, 3.2vw, 1.7rem);
    }

    .auth-form .form-group {
        margin-bottom: 12px;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .auth-toggle {
        margin-top: 12px;
    }
}

@media (max-height: 720px) {
    .auth-header {
        padding: 16px 14px;
    }

    .auth-logo {
        width: 46px;
        height: 46px;
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .auth-header h1 {
        font-size: 1.45rem;
        margin-bottom: 2px;
    }

    .auth-form {
        padding: 14px;
    }

    .auth-form .input-wrapper input {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .btn-full {
        padding: 10px 16px;
    }
}


.app {
    display: flex;
    width: 100%;
    min-height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.app.show {
    opacity: 1;
    visibility: visible;
}


.sidebar {
    width: 280px;
    background: var(--dark);
    color: white;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    animation: slideInLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.user-profile {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-info h3 {
    font-size: 0.95rem;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info p {
    font-size: 0.75rem;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.sidebar-nav {
    flex: 1;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    padding: 12px 15px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.nav-item i {
    font-size: 1.1rem;
    width: 20px;
}

.sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.text-small {
    font-size: 0.8rem;
    opacity: 0.5;
}


.main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--light);
    animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.main-content > .top-bar,
.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.date-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-picker {
    padding: 10px 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.date-picker:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.day-display {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    min-width: 250px;
    text-align: right;
}


.tabs-container {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.tab-content {
    display: none;
    animation: fadeInDown 0.5s ease;
}

.tab-content.show {
    display: block;
}

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

.tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.tab-header h2 {
    color: var(--text);
}

.student-profile-header {
    align-items: center;
    gap: 12px;
}

.student-profile-actions {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .student-profile-actions {
        width: 100%;
        flex-direction: column;
    }
}


.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.stat-content h4 {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.content-section {
    margin-bottom: 40px;
}

.section-header {
    margin-bottom: 25px;
}

.section-header h2 {
    color: var(--text);
    font-size: 1.5rem;
}


.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.student-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.student-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.student-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.student-card-header {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 15px;
}

.student-card-avatar {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.student-card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.student-card-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.student-card-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

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

.badge-level {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
}

.badge-age {
    background: rgba(245, 87, 108, 0.1);
    color: var(--danger);
}

.student-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-mini {
    text-align: center;
    padding: 10px;
    background: var(--light);
    border-radius: 10px;
    font-size: 0.85rem;
}

.stat-mini-label {
    color: var(--text-light);
    font-size: 0.75rem;
}

.stat-mini-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}


.lessons-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lesson-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.lesson-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

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

.lesson-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.lesson-grade {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.lesson-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.lesson-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lesson-notes {
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 12px;
}

.lesson-actions {
    display: flex;
    gap: 10px;
}


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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    transition: var(--transition);
    background: white;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 44px;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--primary) 50%),
        linear-gradient(135deg, var(--primary) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 3px),
        calc(100% - 14px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
input[type="date"]:hover,
input[type="time"]:hover,
select:hover,
textarea:hover {
    border-color: var(--primary);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    background: #f8f9ff;
}

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

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--primary);
    font-size: 1rem;
    pointer-events: none;
}

.input-wrapper input {
    padding-left: 45px;
}

.grade-input {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

input[type="range"] {
    flex: 1;
    appearance: none;
    -webkit-appearance: none;
    min-width: 0;
    margin: 0;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    --range-fill: 50%;
    border: 1px solid rgba(102, 126, 234, 0.2);
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--secondary) var(--range-fill),
        rgba(102, 126, 234, 0.18) var(--range-fill),
        rgba(102, 126, 234, 0.18) 100%
    );
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 2px solid white;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.35);
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 2px solid white;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.35);
    cursor: pointer;
}

input[type="range"]::-moz-range-track {
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.22));
}

.grade-display {
    min-width: 50px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 550px;
    width: 100%;
    max-height: calc(100vh - 30px);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    padding: 0;
}

.modal-content.modal-lg {
    max-width: 720px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    border-bottom: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 20px 20px 0 0;
    margin: 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-close {
    width: 42px;
    height: 42px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.modal-body {
    padding: 35px;
    background: white;
}

.modal-footer {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding: 28px 35px;
    border-top: 1px solid #f0f0f0;
    background: white;
    border-radius: 0 0 20px 20px;
    margin: 0;
}


.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: var(--light);
    color: var(--text);
    border: 2px solid var(--border);
}

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

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    filter: brightness(1.1);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.auth-form .btn-full {
    margin-top: 10px;
    padding: 14px 24px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.auth-form .btn-full:hover {
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}


.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.05rem;
}


.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.chart-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.chart-card h3 {
    margin-bottom: 20px;
    color: var(--text);
}

.top-students {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-student-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--light);
    border-radius: 10px;
    font-size: 0.95rem;
}

.top-student-name {
    font-weight: 600;
}

.top-student-grade {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.student-details {
    padding: 20px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: var(--light);
    border-radius: 10px;
}

.detail-item .label {
    font-weight: 600;
    color: var(--text-light);
}

.detail-item .value {
    font-weight: 700;
    color: var(--primary);
}

.student-notes {
    background: rgb(255, 251, 234);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--warning);
    margin-bottom: 20px;
}

.student-notes h4 {
    margin-bottom: 10px;
    color: var(--text);
}

.student-notes p {
    color: var(--text-light);
    line-height: 1.6;
}

.student-lessons {
    margin-top: 20px;
}

.student-lessons h3 {
    margin-bottom: 15px;
    color: var(--text);
    font-size: 1.2rem;
}


@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }

    .top-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .date-nav {
        width: 100%;
    }

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

    .date-picker {
        flex: 1;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .students-grid {
        grid-template-columns: 1fr;
    }

    .tab-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .modal-content {
        max-width: 95%;
    }

    .tabs-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 180px;
    }

    .sidebar-header {
        padding: 15px 10px;
    }

    .user-info h3 {
        font-size: 0.85rem;
    }

    .auth-container {
        width: 100%;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}


@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}



@media (max-width: 1024px) {
    .sidebar {
        width: 250px;
    }

    .top-bar {
        padding: 15px 20px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-width: 90%;
    }

    .modal-content.modal-lg {
        max-width: 85%;
    }

    
    .auth-container {
        
        width: min(100%, 640px);
        padding: clamp(12px, 2vw, 24px);
    }

    .auth-card {
        border-radius: 18px;
    }

    .auth-header {
        padding: 35px 28px;
    }

    .auth-header h1 {
        font-size: 2.2rem;
    }

    .auth-form {
        padding: 32px;
    }

    .auth-form h2 {
        font-size: 1.7rem;
    }
}


@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }

    .sidebar-nav span {
        display: none;
    }

    .nav-item {
        justify-content: center;
    }

    .top-bar {
        flex-direction: column;
        gap: 12px;
        padding: 12px 15px;
    }

    .date-nav {
        flex-wrap: wrap;
    }

    .day-display {
        font-size: 0.9rem;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        gap: 12px;
    }

    .student-card {
        min-height: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    
    .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .auth-form .form-group {
        margin-bottom: 16px;
    }

    .modal-content {
        max-width: 95%;
        max-height: calc(100vh - 20px);
    }

    .modal-header {
        padding: 22px 24px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 25px;
    }

    .modal-footer {
        padding: 20px 25px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .modal-footer .btn {
        flex: 1;
        min-width: 120px;
    }

    .students-grid {
        grid-template-columns: 1fr;
    }

    .lessons-list {
        gap: 12px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .stat-card h4 {
        font-size: 0.9rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    
    .auth-container {
        width: min(92%, 420px);
        padding: 15px;
    }

    .auth-card {
        border-radius: 16px;
    }

    .auth-header {
        padding: 30px 24px;
    }

    .auth-header h1 {
        font-size: 2rem;
    }

    .auth-header p {
        font-size: 0.9rem;
    }

    .auth-logo {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }

    .auth-form {
        padding: 28px;
    }

    .auth-form h2 {
        font-size: 1.5rem;
        margin-bottom: 22px;
    }

    .auth-form .form-group {
        margin-bottom: 18px;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .auth-form label {
        font-size: 0.9rem;
    }

    .auth-form .input-wrapper input {
        padding: 12px 15px 12px 42px;
        font-size: 0.9rem;
    }

    .auth-toggle {
        font-size: 0.9rem;
        margin-top: 18px;
    }

    .btn-full {
        padding: 13px 22px;
        font-size: 0.95rem;
    }
}


@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .app {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        padding: 10px;
        position: relative;
        border-bottom: 1px solid var(--border);
    }

    .sidebar-header {
        flex: 1;
        min-width: 0;
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 10px 0;
    }

    .nav-item {
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .main-content {
        width: 100%;
        flex: 1;
        overflow-y: auto;
    }

    .top-bar {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .date-nav {
        gap: 8px;
    }

    .btn-icon {
        padding: 8px;
        font-size: 1rem;
    }

    .date-picker {
        padding: 8px;
        font-size: 0.9rem;
    }

    .day-display {
        font-size: 0.85rem;
        padding: 5px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 15px;
        gap: 10px;
    }

    .stat-content h4 {
        font-size: 0.85rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .tab-header {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    .tab-header h2 {
        font-size: 1.3rem;
    }

    .tab-header .btn {
        width: 100%;
    }

    .students-grid {
        grid-template-columns: 1fr;
    }

    .student-card {
        padding: 12px;
    }

    .student-card-header {
        gap: 10px;
    }

    .student-card-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .student-card-info h3 {
        font-size: 1rem;
    }

    .lesson-item {
        padding: 12px;
    }

    .lesson-header {
        flex-direction: column;
        gap: 8px;
    }

    .lesson-title {
        font-size: 0.9rem;
    }

    .lesson-meta-item {
        font-size: 0.8rem;
    }

    .lesson-grade {
        font-size: 1.25rem;
        align-self: flex-start;
    }

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="time"],
    select,
    textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .modal {
        padding: 10px;
    }

    .modal-content {
        max-width: 100%;
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
        border-radius: 16px;
    }

    .modal-header {
        padding: 18px 20px;
        border-radius: 16px 16px 0 0;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }

    .btn-close {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 16px 20px;
        border-radius: 0 0 16px 16px;
    }

    .modal-footer .btn {
        flex: 1 1 calc(50% - 8px);
        padding: 11px 16px;
        font-size: 0.9rem;
    }

    .btn {
        padding: 11px 20px;
        font-size: 0.9rem;
    }

    .btn-full {
        padding: 12px 20px;
    }

    .auth-container {
        width: calc(100% - 20px);
        padding: 10px;
    }

    .auth-card {
        border-radius: 16px;
    }

    .auth-header {
        padding: 30px 20px;
    }

    .auth-logo {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .auth-header h1 {
        font-size: 1.8rem;
    }

    .auth-form {
        padding: 20px;
    }

    .auth-form h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .auth-form .form-group {
        margin-bottom: 16px;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .auth-form label {
        font-size: 0.85rem;
        margin-bottom: 7px;
    }

    .auth-form .input-wrapper {
        position: relative;
    }

    .auth-form .input-wrapper i {
        left: 12px;
        font-size: 0.95rem;
    }

    .auth-form .input-wrapper input {
        padding: 11px 14px 11px 40px;
        font-size: 0.88rem;
        border-radius: 8px;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .auth-toggle {
        font-size: 0.85rem;
        margin-top: 16px;
    }

    .btn-full {
        padding: 11px 18px;
        font-size: 0.88rem;
        margin-top: 8px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .student-lessons {
        padding-top: 20px;
    }

    .top-student-item {
        padding: 12px;
    }

    .top-student-grade {
        font-size: 0.95rem;
    }

    .chart-card {
        padding: 15px;
    }

    .chart-card h3 {
        font-size: 1.1rem;
    }
}


@media (max-width: 360px) {
    .sidebar {
        padding: 8px;
    }

    .modal-header h2 {
        font-size: 1rem;
    }

    .tab-header h2 {
        font-size: 1.1rem;
    }

    .student-card-info h3 {
        font-size: 0.9rem;
    }

    .auth-container {
        max-width: 100%;
        padding: 8px;
    }

    .auth-header {
        padding: 25px 16px;
    }

    .auth-header h1 {
        font-size: 1.5rem;
        margin-bottom: 3px;
    }

    .auth-header p {
        font-size: 0.8rem;
    }

    .auth-logo {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .auth-form {
        padding: 18px;
    }

    .auth-form h2 {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    .auth-form .form-group {
        margin-bottom: 14px;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .auth-form label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .auth-form .input-wrapper input {
        padding: 10px 12px 10px 38px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .auth-toggle {
        font-size: 0.8rem;
        margin-top: 14px;
    }

    .btn-full {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .form-row {
        gap: 12px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="time"],
    select,
    textarea {
        font-size: 16px;
    }
}



.auth-screen {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(6px, 1.2vh, 14px) clamp(6px, 1vw, 14px);
    overflow: hidden;
}

.auth-screen .auth-container {
    width: min(94vw, 740px);
    max-width: 760px;
    max-height: 100%;
    margin: 0;
    padding: 0;
}

.auth-screen .auth-card {
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - clamp(12px, 3vh, 28px));
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
}

.auth-screen .auth-header {
    flex-shrink: 0;
    padding: clamp(12px, 2vh, 24px) clamp(12px, 2vw, 24px);
}

.auth-screen .auth-logo {
    width: clamp(50px, 6.5vw, 78px);
    height: clamp(50px, 6.5vw, 78px);
    margin-bottom: clamp(6px, 1vh, 12px);
}

.auth-screen .auth-header h1 {
    font-size: clamp(1.55rem, 2.8vw, 2.3rem);
    margin-bottom: 2px;
}

.auth-screen .auth-header p {
    font-size: clamp(0.82rem, 1.1vw, 0.98rem);
}

.auth-screen .auth-form {
    padding: clamp(10px, 1.6vh, 20px) clamp(10px, 1.6vw, 20px);
}

.auth-screen .auth-form h2 {
    font-size: clamp(1.15rem, 2.2vw, 1.75rem);
    margin-bottom: clamp(8px, 1.2vh, 14px);
}

.auth-screen .auth-form .form-group {
    margin-bottom: clamp(8px, 1.1vh, 12px);
}

.auth-screen .auth-form .input-wrapper input {
    font-size: clamp(14px, 1vw, 16px);
    padding-top: clamp(8px, 1vh, 11px);
    padding-bottom: clamp(8px, 1vh, 11px);
}

.auth-screen .auth-form .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}


@media (max-height: 860px) {
    .auth-screen .auth-card {
        max-height: calc(100dvh - 12px);
    }

    .auth-screen .auth-header {
        padding: 10px 12px;
    }

    .auth-screen .auth-logo {
        width: 48px;
        height: 48px;
        font-size: 1.45rem;
        margin-bottom: 4px;
    }

    .auth-screen .auth-header h1 {
        font-size: 1.45rem;
    }

    .auth-screen .auth-form {
        padding: 10px 12px;
    }

    .auth-screen .auth-form h2 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .auth-screen .auth-form .form-group {
        margin-bottom: 8px;
    }

    .auth-screen .btn-full {
        padding: 9px 12px;
    }
}


@media (max-height: 720px) {
    .auth-screen {
        padding: 4px;
    }

    .auth-screen .auth-card {
        max-height: calc(100dvh - 8px);
    }

    .auth-screen .auth-header {
        padding: 8px 10px;
    }

    .auth-screen .auth-logo {
        width: 42px;
        height: 42px;
        margin-bottom: 2px;
    }

    .auth-screen .auth-header h1 {
        font-size: 1.28rem;
    }

    .auth-screen .auth-header p {
        font-size: 0.78rem;
    }

    .auth-screen .auth-form {
        padding: 8px 10px;
    }

    .auth-screen .auth-form h2 {
        font-size: 1.08rem;
        margin-bottom: 6px;
    }

    .auth-screen .auth-form label {
        margin-bottom: 4px;
    }

    .auth-screen .auth-form .form-group {
        margin-bottom: 7px;
    }

    .auth-screen .auth-form .input-wrapper input {
        font-size: 14px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .auth-screen .auth-toggle {
        margin-top: 8px;
        font-size: 0.84rem;
    }

    .auth-screen .btn-full {
        margin-top: 6px;
        padding: 8px 10px;
    }
}


@media (max-width: 768px) {
    .auth-screen .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .auth-screen .auth-container {
        width: calc(100vw - 8px);
    }

    .auth-screen .auth-card {
        border-radius: 16px;
    }
}


.auth-verify-text {
    margin-bottom: 14px;
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.45;
}

.auth-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.auth-actions .btn {
    flex: 1;
}

@media (max-width: 640px) {
    .auth-actions {
        flex-direction: column;
    }

    .auth-actions .btn {
        width: 100%;
    }
}


.app {
    min-height: 100dvh;
}

.main-content > .top-bar,
.tabs-container {
    width: min(100%, 1240px);
    padding-left: clamp(10px, 1.6vw, 24px);
    padding-right: clamp(10px, 1.6vw, 24px);
}

.main-content > .top-bar {
    width: 100%;
    max-width: none;
    margin: 0;
}

.dashboard-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.students-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
}

.stats-container {
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}


@media (min-width: 1601px) {
    .sidebar {
        width: 300px;
    }
}


@media (max-width: 1366px) {
    .sidebar {
        width: 240px;
    }
}


@media (max-width: 1024px) {
    .sidebar {
        width: 210px;
    }

    .top-bar {
        flex-wrap: wrap;
        gap: 10px;
    }
}


@media (max-width: 768px) {
    .app {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 8px;
        gap: 6px;
    }

    .sidebar-nav span {
        display: none;
    }

    .nav-item {
        justify-content: center;
        min-width: 44px;
    }

    .tabs-container {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}


@media (max-width: 1024px), (max-height: 760px) {
    .auth-screen .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .auth-screen .auth-card {
        max-height: calc(100dvh - 4px);
    }
}

@media (max-width: 900px), (max-height: 640px) {
    .auth-screen {
        padding: 2px;
    }

    .auth-screen .auth-container {
        width: calc(100vw - 4px);
    }

    .auth-screen .auth-header {
        padding: 6px 8px;
    }

    .auth-screen .auth-logo {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
        margin-bottom: 2px;
    }

    .auth-screen .auth-header h1 {
        font-size: 1.1rem;
        line-height: 1.15;
    }

    .auth-screen .auth-header p {
        font-size: 0.72rem;
    }

    .auth-screen .auth-form {
        padding: 7px 8px;
    }

    .auth-screen .auth-form h2 {
        font-size: 1rem;
        margin-bottom: 6px;
        gap: 6px;
    }

    .auth-screen .auth-form label {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }

    .auth-screen .auth-form .form-group {
        margin-bottom: 6px;
    }

    .auth-screen .auth-form .input-wrapper i {
        left: 10px;
        font-size: 0.88rem;
    }

    .auth-screen .auth-form .input-wrapper input {
        font-size: 13px;
        padding: 6px 10px 6px 34px;
        border-width: 1px;
    }

    .auth-screen .auth-toggle {
        margin-top: 6px;
        font-size: 0.78rem;
    }

    .auth-screen .btn-full {
        margin-top: 5px;
        padding: 7px 10px;
        font-size: 0.84rem;
    }
}

@media (max-width: 700px), (max-height: 520px) {
    .auth-screen .auth-logo,
    .auth-screen .auth-header p {
        display: none;
    }

    .auth-screen .auth-header {
        padding: 6px 8px;
    }

    .auth-screen .auth-header h1 {
        font-size: 1rem;
    }

    .auth-screen .auth-form {
        padding: 6px 7px;
    }

    .auth-screen .auth-form h2 {
        font-size: 0.92rem;
        margin-bottom: 4px;
    }

    .auth-screen .auth-form .form-group {
        margin-bottom: 5px;
    }

    .auth-screen .auth-form .input-wrapper input {
        font-size: 12px;
        padding: 5px 9px 5px 32px;
    }

    .auth-screen .auth-toggle {
        font-size: 0.74rem;
    }

    .auth-screen .btn-full {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
}


@media (max-width: 768px) {
    .modal {
        padding: 0 !important;
    }

    .modal-content {
        width: 100vw !important;
        max-width: 100vw !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .modal-header,
    .modal-footer {
        border-radius: 0 !important;
    }

    .modal-body {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


