/* --- REGISTRATION PAGE SPECIFIC STYLES --- */
.registration-background {
    width: 100%;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
}

.registration-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.registration-title {
    font-family: var(--heading-font);
    font-size: 3em;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.6);
}

.subtitle {
    text-align: center;
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

/* --- Pricing Slider & Display --- */
.pricing-tabs {
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.price-display {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 40px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid var(--highlight-color);
}

.price-display span {
    color: #ffd700;
}


/* --- Form Styling --- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    animation: form-field-fade-in 0.5s ease-out forwards;
}

@keyframes form-field-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.full-width {
    grid-column: 1 / -1;
}

.form-section-heading {
    color: var(--highlight-color);
    font-family: var(--heading-font);
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: -10px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.form-section-heading::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--highlight-color), transparent);
}

label {
    font-weight: 700;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

input, select, textarea {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

#pay-button {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding: 15px;
    font-size: 1.2rem;
}

#status-message {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    min-height: 25px;
}
.success { color: #48bb78; }
.error { color: #f56565; }

/* --- BEAUTIFUL DROPDOWN STYLES --- */
.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-75%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    pointer-events: none;
    transition: all 0.3s ease;
}

.custom-select-wrapper:hover::after {
    transform: translateY(-50%) rotate(45deg);
    border-color: #fff;
}

.custom-select-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px; /* Extra space for custom arrow */
    width: 100%;
    cursor: pointer;
}

.custom-select-wrapper select::-ms-expand {
    display: none;
}
/*
=====================================================
--- Media Queries for Mobile Responsiveness ---
=====================================================
*/

/* --- For Tablets and Smaller Devices (<= 768px) --- */
@media (max-width: 768px) {
    .registration-container {
        padding: 25px;
    }

    .registration-title {
        font-size: 2.2em;
    }

    .subtitle {
        font-size: 1em;
    }

    /* Switch the form grid to a single column */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px; /* Adjust vertical spacing */
    }

    /* The 'full-width' class is no longer needed on mobile, 
       but we leave it for consistency. All items are full-width now. */
}


/* --- For Small Mobile Phones (<= 480px) --- */
@media (max-width: 480px) {
    .registration-background {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .registration-container {
        padding: 20px 15px;
    }

    .registration-title {
        font-size: 1.8em;
    }

    /* Make the pricing slider more compact */
    .pricing-tabs {
        width: 90%;
        padding: 4px;
    }

    .pricing-tabs .tab-btn {
        padding: 10px 5px; /* Reduce padding */
        font-size: 0.9em;  /* Make font smaller */
    }

    .price-display {
        font-size: 1.2em;
    }
}