* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4169E1;
    --primary-dark: #2E4FA3;
    --primary-light: #6B8AE8;
    --secondary-color: #FF6B35;
    --accent-color: #28A745;
    --text-dark: #1A1A2E;
    --text-medium: #4A4A6A;
    --text-light: #7A7A9A;
    --bg-light: #F8F9FC;
    --bg-white: #FFFFFF;
    --bg-gradient: linear-gradient(135deg, #4169E1 0%, #667eea 50%, #764ba2 100%);
    --shadow-sm: 0 2px 8px rgba(65, 105, 225, 0.08);
    --shadow-md: 0 8px 24px rgba(65, 105, 225, 0.12);
    --shadow-lg: 0 16px 48px rgba(65, 105, 225, 0.16);
    --shadow-xl: 0 24px 72px rgba(65, 105, 225, 0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    direction: rtl;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(65, 105, 225, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(255, 107, 53, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-section {
    position: relative;
    overflow: visible;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}

/* Info bar: date & location displayed below the banner */
.program-info-bar {
    background: #fff;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 6px 24px rgba(65, 105, 225, 0.13), 0 2px 6px rgba(0,0,0,0.04);
    border-top: 3px solid var(--primary-color);
    padding: 0;
    overflow: hidden;
}

.program-info-inner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 0 20px;
    min-height: 58px;
    text-align: center;
}

.info-bar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    flex: 0 1 auto;
}

.info-bar-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-bar-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
}

.info-bar-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
}

.info-bar-divider {
    width: 1px;
    background: rgba(65, 105, 225, 0.15);
    align-self: stretch;
    margin: 10px 0;
    flex-shrink: 0;
}

.banner-container {
    width: 100%;
    min-height: 220px;
    background: var(--bg-gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.banner-container::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.banner-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    text-align: center;
    width: 100%;
}

.logo-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 4px solid rgba(255,255,255,0.5);
    overflow: hidden;
}

.logo-container img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.logo-default {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.program-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #1a3a8f;
    margin: 0;
    padding: 18px 32px 22px;
    line-height: 1.45;
    text-align: center;
    letter-spacing: 0.01em;
    border-top: 1px solid rgba(65, 105, 225, 0.12);
}

.program-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    color: var(--bg-white);
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.25);
}

.meta-icon {
    font-size: 1.1rem;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    padding-bottom: 60px;
}

.intro-section,
.form-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(65, 105, 225, 0.08);
}

.section-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(65, 105, 225, 0.1);
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.intro-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 2;
    margin-bottom: 24px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(65, 105, 225, 0.1);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.required-mark {
    color: #E53E3E;
    font-weight: 700;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 2px solid rgba(65, 105, 225, 0.1);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-family: inherit;
}

.form-control:hover {
    border-color: rgba(65, 105, 225, 0.25);
    background: var(--bg-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(65, 105, 225, 0.12);
}

.form-control::placeholder {
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-control.error {
    border-color: #E53E3E;
    background: rgba(229, 62, 62, 0.03);
}

.form-control.error:focus {
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.12);
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper .form-control {
    padding-right: 52px;
}

.input-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
    pointer-events: none;
}

.textarea-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 2px solid rgba(65, 105, 225, 0.1);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    line-height: 1.8;
}

.textarea-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(65, 105, 225, 0.12);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.04), rgba(118, 75, 162, 0.03));
    border: 2px solid rgba(65, 105, 225, 0.1);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-container:hover {
    border-color: rgba(65, 105, 225, 0.3);
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.06), rgba(118, 75, 162, 0.05));
}

.checkbox-container.has-error {
    border-color: #E53E3E;
    background: rgba(229, 62, 62, 0.04);
}

.checkbox-custom {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid rgba(65, 105, 225, 0.3);
    border-radius: 6px;
    background: var(--bg-white);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    margin-top: 2px;
}

.checkbox-custom:hover {
    border-color: var(--primary-color);
}

.checkbox-custom:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-custom:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-white);
    font-size: 14px;
    font-weight: 700;
}

.checkbox-label-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 500;
}

.error-message {
    display: none;
    color: #E53E3E;
    font-size: 0.85rem;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(229, 62, 62, 0.06);
    border-radius: 6px;
    border-right: 3px solid #E53E3E;
}

.error-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bg-white);
    background: var(--bg-gradient);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(65, 105, 225, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: right 0.6s ease;
}

.submit-btn:hover::before {
    right: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(65, 105, 225, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button-icon {
    font-size: 1.2rem;
}

.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.success-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.success-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #28A745, #20C997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--bg-white);
    box-shadow: 0 12px 40px rgba(40, 167, 69, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.success-message {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 12px;
    line-height: 1.8;
}

.success-info {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin: 24px 0;
    text-align: right;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
}

.info-label {
    color: var(--text-light);
    font-weight: 500;
}

.info-value {
    color: var(--text-dark);
    font-weight: 600;
}

.success-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-white);
    background: var(--bg-gradient);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.success-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(65, 105, 225, 0.35);
}

.footer-section {
    background: linear-gradient(135deg, #1A1A2E, #16213E);
    color: rgba(255,255,255,0.7);
    padding: 32px 20px;
    text-align: center;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-top: 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-copyright {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.01em;
}

.footer-brand {
    font-weight: 700;
    font-style: italic;
    background: linear-gradient(90deg, var(--primary-light), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
}

.footer-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-light);
}

.admin-section {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-header-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
}

.admin-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(229, 62, 62, 0.1);
    color: #E53E3E;
    border: 1px solid rgba(229, 62, 62, 0.2);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.admin-logout:hover {
    background: rgba(229, 62, 62, 0.15);
}

.admin-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(65, 105, 225, 0.08);
    margin-bottom: 24px;
}


.admin-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(65, 105, 225, 0.1);
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(65, 105, 225, 0.08);
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2rem;
    box-shadow: var(--shadow-md);
}

.login-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
}

.participants-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.participants-table thead {
    background: var(--bg-gradient);
}

.participants-table th {
    padding: 16px 18px;
    text-align: right;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bg-white);
}

.participants-table td {
    padding: 14px 18px;
    font-size: 0.9rem;
    color: var(--text-medium);
    border-bottom: 1px solid rgba(65, 105, 225, 0.06);
}

.participants-table tbody tr:hover {
    background: rgba(65, 105, 225, 0.03);
}

.participants-table tbody tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28A745;
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #F7B500;
}

.count-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.count-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border-right: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 16px;
}

.count-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.1), rgba(118, 75, 162, 0.1));
    flex-shrink: 0;
}

.count-card-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.count-card-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-success {
    background: rgba(40, 167, 69, 0.08);
    border-right: 4px solid #28A745;
    color: #1e7e34;
}

.alert-error {
    background: rgba(229, 62, 62, 0.08);
    border-right: 4px solid #E53E3E;
    color: #C53030;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.08);
    border-right: 4px solid #F7B500;
    color: #997404;
}

.alert-info {
    background: rgba(65, 105, 225, 0.08);
    border-right: 4px solid var(--primary-color);
    color: var(--primary-dark);
}

.alert-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.image-preview {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(65, 105, 225, 0.1);
    margin-top: 12px;
    display: none;
}

.image-preview.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.preview-placeholder {
    width: 100%;
    height: 120px;
    background: var(--bg-light);
    border: 2px dashed rgba(65, 105, 225, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 12px;
}

.file-upload-input {
    width: 100%;
    display: block;
    margin-top: 8px;
    padding: 8px;
    background: var(--bg-white);
    border: 1px solid rgba(65, 105, 225, 0.15);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-input:hover {
    border-color: var(--primary-color);
    background: rgba(65, 105, 225, 0.03);
}

.file-upload-input::file-selector-button {
    padding: 6px 14px;
    margin-left: 8px;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-input::file-selector-button:hover {
    background: #3558c8;
}

.upload-info {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.upload-info.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28A745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.upload-info.error {
    background: rgba(229, 62, 62, 0.1);
    color: #E53E3E;
    border: 1px solid rgba(229, 62, 62, 0.2);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.2s ease;
}

.loading-content {
    background: var(--bg-white);
    padding: 32px 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 280px;
    text-align: center;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(65, 105, 225, 0.15);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-section {
        order: -1;
    }

    .program-title {
        font-size: 1.6rem;
    }

    .info-bar-item {
        padding: 12px 18px;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        padding: 0 14px;
    }

    .header-content {
        padding: 40px 24px;
    }

    .banner-container {
        min-height: 180px;
    }

    .program-title {
        font-size: 1.35rem;
    }

    .intro-section,
    .form-section,
    .admin-card {
        padding: 24px 20px;
        border-radius: var(--radius-md);
    }

    /* Info bar stacks vertically on mobile */
    .program-info-inner {
        flex-direction: column;
        padding: 0;
    }

    .info-bar-item {
        justify-content: center;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(65, 105, 225, 0.1);
        width: 100%;
    }

    .info-bar-item:last-of-type {
        border-bottom: none;
    }

    .info-bar-divider {
        display: none;
    }

    .info-bar-value {
        font-size: 0.95rem;
    }

    .program-meta {
        gap: 10px;
    }

    .meta-item {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .form-control {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .input-icon-wrapper .form-control {
        padding-right: 48px;
    }

    .submit-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .success-content {
        padding: 36px 24px;
    }

    .success-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .success-title {
        font-size: 1.3rem;
    }

    .logo-container {
        width: 80px;
        height: 80px;
    }

    .count-cards {
        grid-template-columns: 1fr;
    }

    .participants-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .login-card {
        padding: 36px 24px;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .program-title {
        font-size: 1.15rem;
    }

    .meta-item {
        width: 100%;
        justify-content: center;
    }

    .checkbox-container {
        padding: 14px;
    }

    .feature-item {
        padding: 12px 0;
    }
}
