/* Main Styling */
body {
    background: linear-gradient(135deg, #141414 0%, #000000 100%);
    min-height: 100vh;
}

/* Header Styling */
.main-header {
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.header-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.header-subtitle {
    color: #e50914;
}

.login-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Main Content */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 10rem 1rem 3rem 1rem;
}

.search-title {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: 1rem;
}

.search-description {
    color: #d1d5db;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Form Styling */
.form-card {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 2.5rem;
    margin-bottom: 3rem;
}

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

.form-label {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 0.375rem;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #e50914;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.form-input::placeholder {
    color: #888;
}

.form-help {
    font-size: 0.875rem;
    color: #888;
    margin-top: 0.25rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-input {
    margin-right: 0.5rem;
}

.checkbox-label {
    color: white;
    font-size: 0.875rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #e50914;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #f40612;
    transform: translateY(-1px);
}

/* How It Works Section */
.how-it-works {
    margin-bottom: 3rem;
    margin-top: 2rem;
    text-align: center;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 3rem;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    justify-items: center;
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: #e50914;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
}

.step-description {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 250px;
    margin: 0 auto;
}

/* Important Notes */
.important-notes {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 3rem;
}

.notes-title {
    color: #ffc107;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notes-list li {
    color: #d1d5db;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.notes-list li:before {
    content: "•";
    color: #ffc107;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Admin Dashboard Button */
.admin-dashboard-btn {
    background: linear-gradient(135deg, #e50914 0%, #f40612 100%);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.admin-dashboard-btn:hover {
    background: linear-gradient(135deg, #f40612 0%, #e50914 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

.admin-dashboard-btn i {
    font-size: 1.2rem;
}

/* Loading Animation */
.spin {
    animation: spin 1s linear infinite;
}

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

.loading-container {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-top: 1rem;
}

.progress-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.progress-dots .dot {
    width: 8px;
    height: 8px;
    background-color: #e50914;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.progress-dots .dot:nth-child(1) {
    animation-delay: 0s;
}

.progress-dots .dot:nth-child(2) {
    animation-delay: 0.5s;
}

.progress-dots .dot:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Footer */
.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

.footer-text {
    color: #888;
    font-size: 0.875rem;
    margin: 0.25rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-title {
        font-size: 1.5rem;
    }

    .content-wrapper {
        padding: 6rem 1rem 2rem 1rem;
        max-width: 100%;
    }

    .form-card {
        padding: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-description {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .header-title {
        font-size: 1.25rem;
    }

    .content-wrapper {
        padding: 4rem 1rem 1.5rem 1rem;
    }

    .form-card {
        padding: 1.5rem;
    }

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

    .section-title {
        font-size: 1.25rem;
    }
}
