/* PREMIUM "FROSTED AURA" DESIGN 
   Focus: Smooth background animations, high-contrast text, and refined inputs.
*/

:root {
    --sign-up-primary: #2563eb;
    --sign-up-bg-start: #f1f5f9;
    --sign-up-bg-end: #cbd5e1;
    --sign-up-card-bg: rgba(255, 255, 255, 0.95); /* More solid "Frost" look */
    --sign-up-text-head: #0f172a;
    --sign-up-text-sub: #475569;
}

.sign-up-wrapper {
    background: linear-gradient(135deg, var(--sign-up-bg-start) 0%, var(--sign-up-bg-end) 100%);
    background-attachment: fixed; /* Add this line */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden; 
    padding: 20px;
    font-family: 'Inter', system-ui, sans-serif;
}

/* --- NEW EFFECT: Moving Aura Background --- */
.sign-up-wrapper::before, .sign-up-wrapper::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    z-index: 0;
    filter: blur(60px);
    animation: aura-move 15s infinite alternate ease-in-out;
}

.sign-up-wrapper::before { top: -10%; left: -10%; }
.sign-up-wrapper::after { bottom: -10%; right: -10%; animation-delay: -7s; }

@keyframes aura-move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Card Styling */
.sign-up-glass-card {
    background: var(--sign-up-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 32px; /* Smoother corners */
    z-index: 1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 720px;
}

/* Adjusted Texts */
.sign-up-title-main {
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--sign-up-text-head);
    letter-spacing: -1.5px;
    margin-bottom: 8px;
}

.sign-up-subtitle {
    color: var(--sign-up-text-sub);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.85;
}

/* Polished Input Design */
.sign-up-input-custom {
    background-color: #f8fafc !important; /* Soft grey-white */
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    border-radius: 14px !important;
    height: 58px !important;
    transition: all 0.2s ease !important;
}

.sign-up-input-custom:focus {
    border-color: var(--sign-up-primary) !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08) !important;
}

.sign-up-label-custom {
    color: #64748b !important;
    font-weight: 500;
}

/* Dropdown arrow fix */
select.sign-up-input-custom {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.2rem center !important;
    background-size: 14px !important;
    appearance: none !important;
}

/* Conditional Section Reveal */
.sign-up-inner-box {
    background: #f1f5f9;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-top: 10px;
    padding: 20px;
}

/* Premium Button */
.sign-up-btn-premium {
    background: linear-gradient(to right, #2563eb, #3b82f6);
    border: none;
    padding: 16px;
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    border-radius: 16px;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.sign-up-btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
}

.sign-up-hidden-section {
    display: none;
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.4s ease;
}

.sign-up-hidden-section.sign-up-show {
    display: block;
    opacity: 1;
    transform: scale(1);
}