:root {
    --primary: #0F2027;
    --secondary: #203A43;
    --accent: #2C5364;
    --gold: #FFD700;
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
    --blue-gradient: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
    --purple-gradient: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-light: #ffffff;
    --text-dim: #dadddf;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    overflow-x: hidden;
    background: #0F2027;
    /* Fallback */
    background: linear-gradient(to bottom, #0F2027, #203A43, #2C5364);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    min-height: 100vh;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 198, 255, 0.1) 0%, transparent 20%);
    animation: bgPulse 10s infinite alternate;
}

@keyframes bgPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Glassmorphism Classes */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    /* Spreads items evenly */
    align-items: center;
    padding: 1rem 5%;
    /* Use percentage padding to allow spreading */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.menu-btn {
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gold);
}

.btn-register {
    background: linear-gradient(45deg, #11998e, #38ef7d);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(56, 239, 125, 0.5);
    transition: 0.3s;
}

.pulse-green {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(56, 239, 125, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(56, 239, 125, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(56, 239, 125, 0);
    }
}

/* Sidebar */
.sidebar {
    height: 100%;
    width: 280px;
    position: fixed;
    top: 0;
    left: -300px;
    /* Increased offset to hide border-right completely */
    z-index: 2000;
    transition: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    /* Bouncy */
    padding-top: 100px;
    border-right: 1px solid var(--glass-border);
    background: rgba(15, 32, 39, 0.95) !important;
    backdrop-filter: blur(20px);
}

.nav-item {
    padding: 15px 30px;
    display: block;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--gold);
    padding-left: 40px;
    color: var(--gold);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    display: none;
    backdrop-filter: blur(3px);
}

/* Global Gradient Text Animation - RESTRICTED TO TEXT */
h1,
h2,
h3,
.subtitle,
.nav-item,
footer p {
    background: linear-gradient(90deg,
            #ffffff 0%,
            #ffd700 25%,
            #00c6ff 50%,
            #fbc2eb 75%,
            #ffffff 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: textShimmer 5s linear infinite;
    width: fit-content;
    /* Important so gradient doesn't span full block width unnecessarily */
    display: inline-block;
    /* Helps with background-clip on some browsers */
}

/* Ensure centering consistency for blocks that are now inline-block */
.hero,
.welcome-box,
footer {
    text-align: center;
}

/* Re-apply centering for title since it's now inline-block */
.main-title {
    display: block;
    /* Override inline-block for main title to keep centering easy */
    margin-left: auto;
    margin-right: auto;
}

/* Body Background Restoration */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    overflow-x: hidden;
    background: #0F2027;
    /* Fallback */
    background: linear-gradient(to bottom, #0F2027, #203A43, #2C5364);
    min-height: 100vh;
}

/* Exclude specific containers from text clip if they need background */
.login-card,
.header,
.sidebar,
.btn-register,
.icon-circle,
.btn-card-login {
    background-clip: border-box;
    -webkit-background-clip: border-box;
    color: inherit;
}

/* Reset text clip for buttons to allow their own styles */
button {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
}

@keyframes textShimmer {
    to {
        background-position: 200% center;
    }
}

/* Hero */
.hero {
    padding-top: 120px;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Ensures center alignment */
}

.logo-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    /* Auto margins for centering */
    border-radius: 50%;
    border: 2px solid var(--gold);
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.hero-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.main-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    /* Gradient handled by global rule now, but we can boost it */
    font-weight: 800;
    text-align: center;
    width: 100%;
}

.subtitle {
    color: var(--text-dim);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

/* Login Cards */
.login-section {
    padding: 3rem 1rem;
}

.login-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.login-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gradient-gold {
    background: var(--gold-gradient);
}

.gradient-blue {
    background: var(--blue-gradient);
}

.gradient-purple {
    background: var(--purple-gradient);
}

.login-card h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.login-card p {
    color: var(--text-dim);
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Card Buttons - Yellow BG, Red Gradient Text */
.btn-card-login {
    margin-top: 1.5rem;
    background: #FFD700;
    /* Solid Yellow Background */
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-card-login span {
    background: linear-gradient(90deg, #ff0000, #b30000);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    text-transform: uppercase;
}

/* Hover effects */
.btn-card-login:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #FFD700;
}

/* Welcome */
.welcome-section {
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-box {
    padding: 2rem;
    margin-bottom: 2rem;
    border-color: var(--gold);
}

.welcome-box h2 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.welcome-box p {
    line-height: 1.8;
    font-size: 1.1rem;
}

.ant-image-container {
    max-width: 250px;
    margin: 0 auto;
}

.ant-img {
    width: 100%;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.5s;
}

.delay-4 {
    animation-delay: 0.7s;
}

.delay-5 {
    animation-delay: 0.9s;
}

.delay-6 {
    animation-delay: 1.1s;
}

.hover-scale:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.hover-rotate:hover {
    transform: rotate(90deg);
    transition: 0.3s;
}

/* Footer */
footer {
    margin-top: 3rem;
    width: 100%;
    color: var(--text-light);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    padding: 2rem 1rem;
    text-align: center;
}

.footer-contacts h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-contacts p {
    margin-bottom: 0.5rem;
    color: var(--text-dim);
}

.footer-contacts a {
    color: var(--gold);
    text-decoration: none;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}

.social-link:hover {
    color: var(--text-light);
    transform: translateY(-3px);
}

.copyright {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright p {
    color: #FFD700;
    font-weight: bold;
    background: linear-gradient(90deg, #FFD700, #FFF, #FFD700);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Header Adjustments */
.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-header {
    display: flex;
    gap: 1rem;
}

.social-icon-header {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.gradient-green {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.gradient-blue {
    background: linear-gradient(135deg, #0088cc, #0055aa);
}

.header-phone {
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    display: none;
    /* Hidden on very small screens, shown on md+ */
}

@media (min-width: 768px) {
    .header-phone {
        display: block;
    }
}

.header-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.header-label {
    font-weight: 700;
    font-size: 1rem;
    display: none;
    /* Hide on mobile by default to save space */
}

@media (min-width: 900px) {
    .header-label {
        display: inline-block;
    }
}

.gradient-text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Modal Styles (Restored/Standardized) */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2001;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    z-index: 2002;
    overflow-y: auto;
    max-height: 90vh;
}

.video-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2003;
}

/* Dashboards common container */
.dashboard-container {
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0;
}

.modal-close:hover {
    color: #FFD700;
    transform: rotate(90deg);
}

/* Modern Curator Dashboard Styling */
.dashboard-header-modern {
    padding: 2rem 5%;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.header-top-center {
    text-align: center;
    margin-bottom: 1.5rem;
}

.main-dashboard-title {
    font-size: 2.8rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-container-modern {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.user-profile-left {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.user-avatar-circle-large {
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #000;
}

.user-info-large {
    display: flex;
    flex-direction: column;
}

.user-role-label {
    font-size: 0.9rem;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.user-name-large {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.section-header-centered {
    text-align: left;
    margin-bottom: 30px;
}

.section-title-large {
    font-size: 2.22rem !important;
    position: relative;
    padding-bottom: 15px;
}

.section-title-large::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

/* Custom Scrollbar for Homework Lists */
.scrollable-list::-webkit-scrollbar {
    width: 6px;
}


.scrollable-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.scrollable-list::-webkit-scrollbar-thumb {
    background: var(--gold-gradient);
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
}

.scrollable-list::-webkit-scrollbar-thumb:hover {
    background: #FFD700;
}

/* Parent Comment Notification Badge (Gold) */
.parent-comment-badge {
    animation: goldPulse 2s infinite;
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
        transform: scale(1);
    }
}

/* Curator Response Notification Badge (Green) */
.curator-response-badge {
    animation: greenPulse 2s infinite;
}

@keyframes greenPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
        transform: scale(1);
    }
}

/* Registration Dropdown */
.registration-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    min-width: 180px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 1001;
    margin-top: 10px;
    border: 1px solid var(--glass-border);
}

.dropdown-content.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.dropdown-content a {
    color: var(--text-light);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    padding-left: 25px;
}

.dropdown-content i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Auth Forms */
.auth-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-light);
    transition: 0.3s;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.w-100 {
    width: 100%;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.d-inline-block {
    display: inline-block;
}

/* Fullscreen Media Viewer */
.fullscreen-media-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-media-modal.active {
    display: flex;
    opacity: 1;
}

.fullscreen-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 3001;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.2rem;
}

.control-btn:hover {
    background: var(--gold);
    color: black;
    transform: scale(1.1);
}

.media-viewport {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: 20px;
    cursor: grab;
}

.media-viewport:active {
    cursor: grabbing;
}

.fullscreen-media-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.fullscreen-media-content.zoomed {
    transform: scale(1.5);
    max-width: none;
    max-height: none;
}

/* --- MOBILE ADAPTATION & RESPONSIVENESS --- */
@media (max-width: 900px) {
    .header-label {
        display: none !important;
    }

    .header {
        padding: 0.8rem 3%;
        gap: 10px;
    }

    .social-icon-header {
        width: 38px;
        height: 38px;
    }

    .main-title {
        font-size: 2.22rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .logo-container {
        width: 110px;
        height: 110px;
    }

    .modal-content {
        padding: 25px 15px;
        width: 95%;
    }

    .dashboard-container {
        padding: 15px 10px;
    }
}

/* Scrollable containers for growing content */
.scrollable-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
    -webkit-overflow-scrolling: touch;
}

/* Ensure horizontal scroll for tables on small screens */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border-radius: 12px;
}

/* Scrollable list in Student Modal */
.scrollable-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Grid fixes for mobile */
@media (max-width: 600px) {

    .login-grid,
    .students-grid {
        grid-template-columns: 1fr !important;
    }

    .header-top-center {
        margin-bottom: 25px;
    }

    .main-dashboard-title {
        font-size: 1.8rem !important;
    }

    .user-profile-left {
        width: 100%;
        justify-content: center;
        border-radius: 20px;
    }
}

/* Telegram Verification Banner */
.telegram-verification-banner {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.15), rgba(0, 85, 170, 0.15));
    border: 2px solid rgba(0, 136, 204, 0.4);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.2);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.banner-icon {
    font-size: 3rem;
    color: #0088cc;
    background: rgba(0, 136, 204, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-text {
    flex: 1;
    min-width: 250px;
}

.banner-text h3 {
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.banner-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.4;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .telegram-verification-banner {
        padding: 15px;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .banner-icon {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
    }

    .banner-text {
        min-width: auto;
    }

    .banner-text h3 {
        font-size: 1rem;
    }

    .banner-text p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .student-modal-body {
        grid-template-columns: 1fr !important;
        overflow-y: auto !important;
    }

    .modal-content {
        height: auto !important;
        max-height: 95vh !important;
    }

    .modal-column {
        min-height: 250px;
    }
}