/**
 * PPDB Registration Page Styles
 * Yayasan Ar-Raihan
 */

/* ==========================================
   PPDB Header
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-section .logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00B4A8;
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--gray, #6c757d);
    margin: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-gray, #343a40);
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: linear-gradient(135deg, #00B4A8, #00D9CC);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 168, 0.3);
}

.nav-link i {
    font-size: 1rem;
}

/* ==========================================
   PPDB Hero Section
   ========================================== */
body {
    padding-top: 80px; /* Adjust for fixed header */
}

.ppdb-hero {
    background: linear-gradient(135deg, #00B4A8 0%, #00D9CC 100%);
    padding: 7rem 0 5rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated Background Pattern */
.ppdb-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

/* Geometric Pattern Overlay */
.ppdb-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.03) 35px, rgba(255,255,255,0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,0.03) 35px, rgba(255,255,255,0.03) 70px);
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
    animation: slideInDown 0.8s ease-out;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

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

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.4s both;
}

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

.hero-badges .badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-badges .badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-badges .badge i {
    font-size: 1.5rem;
}

/* ==========================================
   Progress Steps
   ========================================== */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    padding: 0 2rem;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--gray-200);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
    margin-bottom: 0.5rem;
}

.step-circle i {
    font-size: 1.5rem;
    color: var(--gray-400);
    display: block;
}

.step-circle .step-number {
    display: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.step-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-align: center;
    font-weight: 500;
}

.step.active .step-circle {
    background: linear-gradient(135deg, #00B4A8, #00D9CC);
    border-color: #00B4A8;
    box-shadow: 0 0 0 6px rgba(0, 180, 168, 0.2), 0 4px 12px rgba(0, 180, 168, 0.4);
}

.step.active .step-circle i {
    color: white;
}

.step.active .step-label {
    color: #00B4A8;
    font-weight: 600;
}

.step.completed .step-circle {
    background: #10B981;
    border-color: #10B981;
}

.step.completed .step-circle i {
    display: none;
}

.step.completed .step-circle .step-number {
    display: block;
}

.step.completed .step-label {
    color: #10B981;
}

/* ==========================================
   Form Wrapper
   ========================================== */
.ppdb-form-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================
   Form Steps
   ========================================== */
.form-step {
    display: none;
    animation: fadeInUp 0.4s ease;
}

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

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

.step-title {
    font-size: 1.75rem;
    color: #00B4A8;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step-description {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* ==========================================
   School Level Cards
   ========================================== */
.school-level-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.school-card {
    position: relative;
    cursor: pointer;
}

.school-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.school-card .card-content {
    border: 3px solid #E5E7EB;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    height: 100%;
}

.school-card .card-content img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.school-card .card-content h4 {
    font-size: 1.5rem;
    color: #00B4A8;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.school-card .card-content p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.school-card .features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.school-card .features li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.school-card .features i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.school-card input[type="radio"]:checked + .card-content {
    border-color: #00B4A8;
    background: linear-gradient(135deg, rgba(0, 180, 168, 0.08), rgba(0, 217, 204, 0.08));
    box-shadow: 0 8px 24px rgba(0, 180, 168, 0.25), 0 0 0 4px rgba(0, 180, 168, 0.1);
    transform: translateY(-6px) scale(1.02);
}

.school-card:hover .card-content {
    border-color: #FFB800;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.school-card:hover .card-content img {
    transform: scale(1.1);
}

/* ==========================================
   Form Groups
   ========================================== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
}

.form-group .required {
    color: #EF4444;
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00B4A8;
    box-shadow: 0 0 0 4px rgba(0, 180, 168, 0.12), 0 4px 8px rgba(0, 180, 168, 0.08);
    transform: translateY(-1px);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

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

/* ==========================================
   Radio & Checkbox Groups
   ========================================== */
.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: #00B4A8;
}

/* ==========================================
   Parent Section
   ========================================== */
.parent-section {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.parent-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.parent-section h4 i {
    margin-right: 0.5rem;
}

/* ==========================================
   Upload Section
   ========================================== */
.upload-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.upload-box {
    position: relative;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    border: 3px dashed var(--gray-300);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--gray-50);
    text-align: center;
}

.upload-label:hover {
    border-color: var(--primary-color);
    background: rgba(26, 94, 63, 0.05);
}

.upload-label i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-title {
    font-weight: 600;
    color: var(--gray-800);
    display: block;
    margin-bottom: 0.5rem;
}

.upload-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
    display: block;
    margin-bottom: 1rem;
}

.upload-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.upload-label:hover .upload-btn {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.file-input {
    display: none;
}

.file-preview {
    margin-top: 1rem;
    display: none;
}

.file-preview.active {
    display: block;
}

.file-preview img {
    max-width: 100%;
    border-radius: 8px;
    border: 2px solid var(--gray-200);
}

.file-preview .file-info {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.file-preview .file-name {
    font-weight: 600;
    color: var(--gray-800);
    display: block;
    margin-bottom: 0.25rem;
}

.file-preview .file-size {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.file-preview .remove-file {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.file-preview .remove-file:hover {
    background: #c82333;
}

/* ==========================================
   Info Box
   ========================================== */
.info-box {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--info-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-box strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--gray-800);
}

.info-box p {
    color: var(--gray-700);
    margin: 0;
    font-size: 0.875rem;
}

.info-box.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.info-box.warning i {
    color: #ffc107;
}

/* ==========================================
   Confirmation Box
   ========================================== */
.confirmation-box {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
}

.confirm-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.confirm-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.confirm-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.confirm-section h4 i {
    margin-right: 0.5rem;
}

.confirm-table {
    width: 100%;
    border-collapse: collapse;
}

.confirm-table tr {
    border-bottom: 1px solid var(--gray-200);
}

.confirm-table tr:last-child {
    border-bottom: none;
}

.confirm-table td {
    padding: 0.75rem 0;
    color: var(--gray-700);
}

.confirm-table td:first-child {
    font-weight: 600;
    width: 40%;
    color: var(--gray-800);
}

.document-list {
    list-style: none;
    padding: 0;
}

.document-list li {
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.document-list li i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* ==========================================
   Form Navigation
   ========================================== */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-200);
}

/* ==========================================
   Success Message
   ========================================== */
.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #10B981, #00D9CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease, pulse 2s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4), 0 0 0 8px rgba(16, 185, 129, 0.1);
}

.success-icon i {
    font-size: 3.5rem;
    color: white;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4), 0 0 0 8px rgba(16, 185, 129, 0.1);
    }
    50% {
        box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5), 0 0 0 12px rgba(16, 185, 129, 0.15);
    }
}

.success-message h3 {
    font-size: 2.25rem;
    background: linear-gradient(135deg, #00B4A8, #00D9CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 800;
}

.registration-info {
    background: linear-gradient(135deg, rgba(0, 180, 168, 0.05), rgba(0, 217, 204, 0.05));
    padding: 2.5rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 2px solid rgba(0, 180, 168, 0.15);
}

.registration-info h4 {
    color: #2D3748;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.registration-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00B4A8, #00D9CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 1.5rem;
    background-color: white;
    border: 3px dashed #00B4A8;
    border-radius: 12px;
    letter-spacing: 3px;
    box-shadow: 0 4px 12px rgba(0, 180, 168, 0.1);
}

.info-text {
    margin-top: 1rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.next-steps {
    text-align: left;
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.next-steps h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.next-steps ol {
    padding-left: 1.5rem;
}

.next-steps li {
    padding: 0.5rem 0;
    color: var(--gray-700);
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ==========================================
   PPDB Information Section
   ========================================== */
.ppdb-info-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 180, 168, 0.08);
    border: 2px solid rgba(0, 180, 168, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 180, 168, 0.15);
    border-color: #00B4A8;
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #00B4A8, #00D9CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 180, 168, 0.3);
}

.info-card h3 {
    font-size: 1.5rem;
    color: #00B4A8;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-highlight {
    font-size: 1.75rem;
    font-weight: 800;
    color: #00B4A8;
    margin-bottom: 0.75rem;
}

.info-detail {
    color: #6B7280;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.info-list li {
    padding: 0.625rem 0;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-list li i {
    color: #10B981;
    font-size: 1.125rem;
}

.info-cta {
    background: linear-gradient(135deg, #00B4A8, #00D9CC);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 12px 32px rgba(0, 180, 168, 0.25);
}

.info-cta h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.info-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.info-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.info-cta .btn-outline {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
}

.info-cta .btn-outline:hover {
    background: white;
    color: #00B4A8;
}

/* ==========================================
   Track Status Section
   ========================================== */
.track-status-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
}

.track-status-section .section-title {
    text-align: center;
    font-size: 2rem;
    background: linear-gradient(135deg, #00B4A8, #00D9CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.track-status-section .section-subtitle {
    text-align: center;
    color: #6B7280;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.track-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 1rem;
}

.track-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.25rem;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: white;
}

.track-input:focus {
    outline: none;
    border-color: #00B4A8;
    box-shadow: 0 0 0 4px rgba(0, 180, 168, 0.12), 0 4px 8px rgba(0, 180, 168, 0.08);
    transform: translateY(-1px);
}

.track-input::placeholder {
    text-transform: none;
    color: #9CA3AF;
    font-weight: 400;
}

.track-form .btn {
    min-width: 160px;
    padding: 1rem 1.5rem;
    white-space: nowrap;
}

.track-result {
    max-width: 700px;
    margin: 3rem auto 0;
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 180, 168, 0.12);
    border: 2px solid rgba(0, 180, 168, 0.1);
}

.status-badge {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.status-badge.verified {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
    color: #1E40AF;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.status-badge.approved {
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    color: #065F46;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.status-badge.rejected {
    background: linear-gradient(135deg, #FEE2E2, #FECACA);
    color: #991B1B;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* ==========================================
   Responsive Design
   ========================================== */

/* Tablet Breakpoint */
@media (max-width: 992px) {
    .header-content {
        flex-wrap: wrap;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        padding-top: 0.5rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

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

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

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
    }

    .logo-section .logo {
        width: 40px;
        height: 40px;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.65rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        min-height: 44px;
    }

    .nav-link i {
        font-size: 0.9rem;
    }

    body {
        padding-top: 110px;
    }

    .ppdb-hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .form-wrapper {
        padding: 1.5rem;
        border-radius: 12px;
    }

    /* Progress Steps - Horizontal Scroll */
    .progress-steps {
        padding: 0;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .progress-steps::before {
        display: none;
    }

    .step {
        min-width: 80px;
    }

    .step-circle {
        width: 50px;
        height: 50px;
    }

    .step-circle i {
        font-size: 1.25rem;
    }

    .step-label {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    /* School Cards - Stack */
    .school-level-cards {
        grid-template-columns: 1fr;
    }

    /* Form Grid - Single Column */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Upload Section */
    .upload-section {
        grid-template-columns: 1fr;
    }

    /* Form Navigation */
    .form-navigation {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .form-navigation .btn {
        width: 100%;
        min-height: 48px;
    }

    /* Track Form */
    .track-form {
        flex-direction: column;
    }

    .track-form input {
        width: 100%;
    }

    .track-form button {
        width: 100%;
    }

    /* Action Buttons */
    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }

    /* Success Message */
    .success-icon {
        width: 100px;
        height: 100px;
    }

    .success-message h3 {
        font-size: 1.75rem;
    }

    .registration-number {
        font-size: 2rem;
        letter-spacing: 2px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .ppdb-hero {
        padding: 3rem 0 2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .form-wrapper {
        padding: 1rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .school-card .card-content {
        padding: 1.5rem 1rem;
    }

    .school-card .card-content img {
        width: 80px;
        height: 80px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9375rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .school-card:hover .card-content {
        transform: none;
    }

    .nav-link {
        min-height: 48px;
        padding: 0.75rem 1rem;
    }

    button,
    .btn,
    input[type="button"],
    input[type="submit"] {
        min-height: 48px;
    }
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {
    .header,
    .ppdb-hero,
    .form-navigation,
    .track-status-section,
    .footer,
    .whatsapp-float {
        display: none !important;
    }

    .form-wrapper {
        box-shadow: none;
        padding: 0;
    }

    .registration-number {
        border: 2px solid #000;
    }
}
