/* Form Page Styles */
:root {
    --neon-blue: #00f0ff;
    --neon-pink: #ff00f0;
    --neon-purple: #b400ff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #0a0a1a;
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-form {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.popup-content {
    background: rgba(10, 10, 26, 0.95);
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 800px;
    position: relative;
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--neon-blue);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-popup:hover {
    transform: scale(1.1);
    color: var(--neon-pink);
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Input and Select Shared Styles */
.form-group input,
.form-group select {
    width: 90%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

/* Custom Select Dropdown Styling */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300f0ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* Dropdown Options Styling */
.form-group select option {
    background: rgba(10, 10, 26, 0.95);
    color: white;
    padding: 10px;
}

/* Focus States */
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .popup-content {
        padding: 30px 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .form-group label {
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group select {
        padding: 10px;
        font-size: 0.95rem;
        width: 90%;
    }

    .form-group select {
        background-position: right 10px center;
        background-size: 14px;
        padding-right: 35px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 20px 15px;
    }

    h2 {
        font-size: 1.3rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select {
        padding: 8px;
        font-size: 0.9rem;
        width: 90%;
    }

    .form-group select {
        background-position: right 8px center;
        background-size: 12px;
        padding-right: 30px;
    }

    .submit-btn {
        padding: 10px;
        font-size: 0.95rem;
    }
}