/* Corporate Colors - Risks International */
:root {
    --navy-900: #09163d;
    --navy-800: #0d2847;
    --cyan-500: #29ABE2;
    --cyan-600: #1b8bba;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-800: #065f46;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--slate-800);
    background-color: var(--slate-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.home-header {
    background: white;
    border-bottom: 1px solid var(--slate-200);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.logo-container img {
    height: 32px;
    width: auto;
}

.logo-badge {
    background: var(--navy-900);
    color: white;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-badge .cyan {
    color: var(--cyan-500);
}

.logo-subtitle {
    font-size: 10px;
    color: var(--slate-400);
    border-left: 1px solid var(--slate-300);
    padding-left: 8px;
    display: none;
}

@media (min-width: 768px) {
    .logo-subtitle {
        display: block;
    }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--navy-900);
    cursor: pointer;
    padding: 8px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--slate-200);
    padding: 16px;
    z-index: 49;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: var(--navy-900);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    cursor: pointer;
    text-decoration: none;
}

.mobile-menu-item.nav-btn-live {
    background: var(--emerald-50);
    color: var(--emerald-600);
    border: 1px solid var(--emerald-200);
}

.mobile-menu-item.logout {
    background: var(--slate-100);
    color: var(--slate-600);
    border: 1px solid var(--slate-300);
}

@media (max-width: 767px) {
    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .home-header {
        padding: 8px 16px;
    }

    .logo-container img {
        height: 28px;
    }
}

.nav-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.nav-btn-home {
    background: var(--navy-900);
    color: white;
}

.nav-btn-live {
    background: var(--emerald-50);
    color: var(--emerald-600);
    border: 1px solid var(--emerald-200);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-btn-live:hover {
    background: var(--emerald-100);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: var(--emerald-500);
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

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

.ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Main Content */
.home-main {
    flex: 1;
    padding: 24px 16px;
}

.max-w-5xl {
    max-width: 64rem;
    margin: 0 auto;
}

.max-w-6xl {
    max-width: 72rem;
    margin: 0 auto;
}

.max-w-xl {
    max-width: 36rem;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    background: var(--navy-900);
    border-radius: 16px;
    color: white;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .hero-section {
        padding: 48px 64px;
    }
}

.event-badge {
    background: rgba(41, 171, 226, 0.2);
    color: var(--cyan-500);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
}

@media (min-width: 768px) {
    .event-badge {
        font-size: 11px;
        padding: 6px 16px;
    }
}

.hero-title {
    font-size: 18px;
    font-weight: 800;
    margin-top: 12px;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 24px;
        margin-top: 16px;
        margin-bottom: 12px;
    }
}

.hero-description {
    color: var(--slate-300);
    font-size: 12px;
    max-width: 32rem;
    margin: 0 auto 16px;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 14px;
        margin: 0 auto 24px;
    }
}

/* Countdown */
.countdown-section {
    padding: 12px 0;
    border-top: 1px solid var(--slate-800);
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .countdown-section {
        padding: 16px 0;
    }
}

.countdown-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .countdown-label {
        font-size: 11px;
        margin-bottom: 12px;
    }
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .countdown-timer {
        gap: 12px;
    }
}
}

.countdown-item {
    background: var(--navy-800);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--slate-700);
    width: 50px;
    text-align: center;
}

@media (min-width: 768px) {
    .countdown-item {
        padding: 12px;
        width: 64px;
    }
}

.countdown-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--cyan-500);
}

@media (min-width: 768px) {
    .countdown-value {
        font-size: 20px;
    }
}

.btn-live-hero {
    background: var(--cyan-500);
    color: white;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .btn-live-hero {
        padding: 14px 32px;
        font-size: 14px;
        gap: 8px;
        border-radius: 12px;
    }
}

.btn-live-hero .dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

@media (min-width: 768px) {
    .btn-live-hero .dot {
        width: 10px;
        height: 10px;
    }
}

/* Card Sections */
.card-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--slate-200);
    overflow: hidden;
}

.card-header {
    background: var(--navy-900);
    color: white;
    padding: 12px 16px;
    border-bottom: 1px solid var(--slate-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .card-header {
        padding: 16px;
    }
}

.card-header h2 {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .card-header h2 {
        font-size: 14px;
    }
}

.card-header span {
    font-size: 10px;
    color: var(--slate-400);
}

@media (min-width: 768px) {
    .card-header span {
        font-size: 12px;
    }
}

.card-body {
    padding: 16px;
}

@media (min-width: 768px) {
    .card-body {
        padding: 24px;
    }
}

/* Materials Section */
.materials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 1024px) {
    .materials-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.video-placeholder {
    background: black;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder p {
    color: var(--slate-500);
    font-size: 12px;
}

.materials-sidebar {
    background: var(--slate-50);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--slate-200);
}

@media (min-width: 768px) {
    .materials-sidebar {
        padding: 16px;
    }
}

.materials-sidebar h4 {
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy-900);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .materials-sidebar h4 {
        font-size: 11px;
    }
}

.material-item {
    background: white;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .material-item {
        padding: 12px;
        font-size: 12px;
        margin-bottom: 12px;
    }
}

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

.material-info p {
    font-weight: 600;
    color: var(--slate-800);
}

.material-info .size {
    font-size: 9px;
    color: var(--slate-400);
}

@media (min-width: 768px) {
    .material-info .size {
        font-size: 10px;
    }
}

.btn-download {
    background: var(--navy-900);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 10px;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .btn-download {
        padding: 4px 12px;
        font-size: 11px;
    }
}

/* Certificate Section */
.cert-header {
    background: var(--navy-900);
    color: white;
    padding: 16px;
    text-align: center;
}

@media (min-width: 768px) {
    .cert-header {
        padding: 24px;
    }
}

.cert-header .badge {
    color: var(--cyan-500);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .cert-header .badge {
        font-size: 10px;
    }
}

.cert-header h2 {
    font-size: 14px;
    font-weight: 700;
    margin-top: 4px;
}

@media (min-width: 768px) {
    .cert-header h2 {
        font-size: 18px;
    }
}

.cert-body {
    padding: 16px;
}

@media (min-width: 768px) {
    .cert-body {
        padding: 24px;
    }
}

.cert-step {
    display: none;
}

.cert-step.active {
    display: block;
}

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

@media (min-width: 768px) {
    .form-group {
        margin-bottom: 16px;
    }
}

.form-group label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--slate-700);
    text-transform: uppercase;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .form-group label {
        font-size: 11px;
    }
}

.form-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--slate-300);
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
}

@media (min-width: 768px) {
    .form-input {
        padding: 10px 16px;
        font-size: 14px;
    }
}

.form-input:focus {
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 3px rgba(41, 171, 226, 0.1);
}

.btn-block {
    width: 100%;
}

.btn-navy {
    background: var(--navy-900);
    color: white;
    font-weight: 700;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    font-size: 13px;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .btn-navy {
        padding: 12px;
        font-size: 14px;
    }
}

.btn-navy:hover {
    background: var(--navy-800);
}

.btn-cyan {
    background: var(--cyan-500);
    color: white;
    font-weight: 700;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    font-size: 13px;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .btn-cyan {
        padding: 12px;
        font-size: 14px;
    }
}

.btn-cyan:hover {
    background: var(--cyan-600);
}

.success-message {
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    padding: 10px;
    border-radius: 8px;
    font-size: 11px;
    color: var(--emerald-800);
    font-weight: 500;
    text-align: center;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .success-message {
        padding: 12px;
        font-size: 12px;
        margin-bottom: 16px;
    }
}

/* Sponsors Section */
.sponsors-section {
    text-align: center;
}

.sponsors-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .sponsors-label {
        font-size: 11px;
        margin-bottom: 16px;
    }
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    opacity: 0.75;
}

@media (min-width: 768px) {
    .sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .sponsors-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.sponsor-item {
    background: white;
    border: 1px solid var(--slate-200);
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 11px;
    color: var(--slate-600);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

@media (min-width: 768px) {
    .sponsor-item {
        padding: 20px;
        font-size: 12px;
        min-height: 80px;
    }
}

.sponsor-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

@media (min-width: 768px) {
    .sponsor-item img {
        max-height: 80px;
    }
}

/* Footer */
.home-footer {
    background: white;
    border-top: 1px solid var(--slate-200);
    padding: 10px;
    text-align: center;
    font-size: 11px;
    color: var(--slate-400);
}

@media (min-width: 768px) {
    .home-footer {
        padding: 12px;
        font-size: 12px;
    }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

@media (min-width: 768px) {
    .modal {
        padding: 16px;
    }
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 28rem;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--slate-200);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--slate-400);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

@media (min-width: 768px) {
    .modal-close {
        top: 16px;
        right: 16px;
        font-size: 24px;
    }
}

.modal-close:hover {
    color: var(--slate-600);
}

.modal-header {
    background: var(--navy-900);
    color: white;
    padding: 16px;
    text-align: center;
}

@media (min-width: 768px) {
    .modal-header {
        padding: 24px;
    }
}

.modal-header .badge {
    color: var(--cyan-500);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .modal-header .badge {
        font-size: 10px;
    }
}

.modal-header h3 {
    font-size: 14px;
    font-weight: 700;
    margin-top: 4px;
}

@media (min-width: 768px) {
    .modal-header h3 {
        font-size: 18px;
    }
}

.modal-header p {
    font-size: 11px;
    color: var(--slate-300);
}

@media (min-width: 768px) {
    .modal-header p {
        font-size: 12px;
    }
}

.modal-body {
    padding: 16px;
}

@media (min-width: 768px) {
    .modal-body {
        padding: 24px;
    }
}

/* Alerts */
.alert {
    padding: 10px 12px;
    margin: 12px 0;
    border-radius: 8px;
    font-size: 12px;
}

@media (min-width: 768px) {
    .alert {
        padding: 12px 16px;
        margin: 16px 0;
        font-size: 14px;
    }
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Space between sections */
.space-y-12 > * + * {
    margin-top: 32px;
}

@media (min-width: 768px) {
    .space-y-12 > * + * {
        margin-top: 48px;
    }
}

.space-y-4 > * + * {
    margin-top: 12px;
}

@media (min-width: 768px) {
    .space-y-4 > * + * {
        margin-top: 16px;
    }
}

/* Utility classes */
.hidden {
    display: none !important;
}

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

/* Login Page (keep for admin) */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 16px;
}

@media (min-width: 768px) {
    .login-container {
        padding: 20px;
    }
}

.login-box {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .login-box {
        padding: 40px;
    }
}

.login-header {
    text-align: center;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .login-header {
        margin-bottom: 30px;
    }
}

.login-header h1 {
    font-size: 20px;
    color: var(--navy-900);
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .login-header h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }
}

.login-header p {
    color: var(--slate-600);
    font-size: 12px;
}

@media (min-width: 768px) {
    .login-header p {
        font-size: 14px;
    }
}

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

@media (min-width: 768px) {
    .login-form .form-group {
        margin-bottom: 20px;
    }
}

.login-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--slate-700);
    font-size: 12px;
}

@media (min-width: 768px) {
    .login-form label {
        margin-bottom: 8px;
        font-size: 14px;
    }
}

.login-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--slate-300);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

@media (min-width: 768px) {
    .login-form input {
        padding: 12px;
    }
}

.login-form input:focus {
    outline: none;
    border-color: var(--cyan-500);
}

/* Sala Page Styles */
.flex-grow {
    flex-grow: 1;
}

.max-w-6xl {
    max-width: 72rem;
    margin: 0 auto;
}

.p-4 {
    padding: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.lg\:col-span-2 {
    grid-column: span 2;
}

@media (min-width: 1024px) {
    .lg\:col-span-2 {
        grid-column: span 2;
    }
}

/* Chat input fix */
#chat-input {
    flex-grow: 1;
    font-size: 12px;
    padding: 8px;
    border: 1px solid var(--slate-300);
    border-radius: 4px;
    outline: none;
}

#chat-input:focus {
    border-color: var(--cyan-500);
}

/* Session Alert Modal */
#sessionAlert .modal-content {
    max-width: 400px;
    text-align: center;
}
.btn-live-hero:hover {
    background: var(--cyan-600);
}

.btn-live-hero .dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

/* Card Sections */
.card-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--slate-200);
    overflow: hidden;
}

.card-header {
    background: var(--navy-900);
    color: white;
    padding: 16px;
    border-bottom: 1px solid var(--slate-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-header span {
    font-size: 12px;
    color: var(--slate-400);
}

.card-body {
    padding: 24px;
}

/* Materials Section */
.materials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1024px) {
    .materials-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.video-placeholder {
    background: black;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder p {
    color: var(--slate-500);
    font-size: 12px;
}

.materials-sidebar {
    background: var(--slate-50);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--slate-200);
}

.materials-sidebar h4 {
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.material-item {
    background: white;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 12px;
}

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

.material-info p {
    font-weight: 600;
    color: var(--slate-800);
}

.material-info .size {
    font-size: 10px;
    color: var(--slate-400);
}

.btn-download {
    background: var(--navy-900);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    border: none;
    cursor: pointer;
}

/* Certificate Section */
.cert-header {
    background: var(--navy-900);
    color: white;
    padding: 24px;
    text-align: center;
}

.cert-header .badge {
    color: var(--cyan-500);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cert-header h2 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 4px;
}

.cert-body {
    padding: 24px;
}

.cert-step {
    display: none;
}

.cert-step.active {
    display: block;
}

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

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--slate-700);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.form-input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--slate-300);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 3px rgba(41, 171, 226, 0.1);
}

.btn-block {
    width: 100%;
}

.btn-navy {
    background: var(--navy-900);
    color: white;
    font-weight: 700;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.btn-navy:hover {
    background: var(--navy-800);
}

.btn-cyan {
    background: var(--cyan-500);
    color: white;
    font-weight: 700;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.btn-cyan:hover {
    background: var(--cyan-600);
}

.success-message {
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--emerald-800);
    font-weight: 500;
    text-align: center;
    margin-bottom: 16px;
}

/* Sponsors Section */
.sponsors-section {
    text-align: center;
}

.sponsors-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    opacity: 0.75;
}

@media (min-width: 768px) {
    .sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .sponsors-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.sponsor-item {
    background: white;
    border: 1px solid var(--slate-200);
    padding: 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
    color: var(--slate-600);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

/* Footer */
.home-footer {
    background: white;
    border-top: 1px solid var(--slate-200);
    padding: 12px;
    text-align: center;
    font-size: 12px;
    color: var(--slate-400);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 28rem;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--slate-200);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--slate-400);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--slate-600);
}

.modal-header {
    background: var(--navy-900);
    color: white;
    padding: 24px;
    text-align: center;
}

.modal-header .badge {
    color: var(--cyan-500);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 4px;
}

.modal-header p {
    font-size: 12px;
    color: var(--slate-300);
}

.modal-body {
    padding: 24px;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 8px;
    font-size: 14px;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Space between sections */
.space-y-12 > * + * {
    margin-top: 48px;
}

.space-y-4 > * + * {
    margin-top: 16px;
}

/* Utility classes */
.hidden {
    display: none !important;
}

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

/* Login Page (keep for admin) */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 24px;
    color: var(--navy-900);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--slate-600);
    font-size: 14px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--slate-700);
}

.login-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--slate-300);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: var(--cyan-500);
}

/* Sala Page Styles */
.flex-grow {
    flex-grow: 1;
}

.max-w-6xl {
    max-width: 72rem;
    margin: 0 auto;
}

.p-4 {
    padding: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.lg\:col-span-2 {
    grid-column: span 2;
}

@media (min-width: 1024px) {
    .lg\:col-span-2 {
        grid-column: span 2;
    }
}

/* Chat input fix */
#chat-input {
    flex-grow: 1;
    font-size: 12px;
    padding: 8px;
    border: 1px solid var(--slate-300);
    border-radius: 4px;
    outline: none;
}

#chat-input:focus {
    border-color: var(--cyan-500);
}

/* Session Alert Modal */
#sessionAlert .modal-content {
    max-width: 400px;
    text-align: center;
}
