/* Base Styles */
body {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    color: #e0e0e0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    position: relative;
}

/* Floating Finance Icons Background */
.finance-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.finance-icon {
    position: absolute;
    color: rgba(0, 255, 255, 0.1); /* Cyan to match new theme */
    font-size: 2rem;
    animation: floatIcon 30s infinite linear;
    opacity: 0;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

@keyframes floatIcon {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Card Styles with Glass Morphism */
.card {
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(16, 16, 32, 0.85), rgba(26, 26, 46, 0.85));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.3s ease;
    z-index: 1;
}

.card:hover {
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.2);
}

/* Title Styles */
.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.logo {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    animation: floatLogo 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 15px rgba(138, 43, 226, 0.3));
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.title {
    font-size: 2.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #8A2BE2, #00FFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#form-title {
    font-size: 1.2rem;
    color: #b0b0b0;
    font-weight: 500;
}

/* Form Styles */
.form-control, select.form-control {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    height: 50px; /* <-- ADDED: Fixes vertical text clipping */
}

/* Remove default select arrow */
select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='cyan' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-control:focus, select.form-control:focus {
    background: rgba(138, 43, 226, 0.2);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(0, 255, 255, 0.15);
    color: #fff;
}

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

select.form-control option {
    background: #1a1a2e;
    color: #e0e0e0;
}

/* Registration Toggle Switch */
.toggle-container {
    display: flex;
    background-color: rgba(138, 43, 226, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    padding: 5px;
}

.toggle-container input[type="radio"] {
    display: none;
}

.toggle-container label {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
    color: #aaa;
    margin-bottom: 0; /* Override bootstrap margin */
}

.toggle-container input[type="radio"]:checked + label {
    background-color: rgba(0, 255, 255, 0.2);
    color: #fff;
}


/* Button Styles */
.btn-custom {
    background: linear-gradient(135deg, #8A2BE2 0%, #4a00e0 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    height: 50px;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.4);
}

/* Link Styles */
a {
    color: #00FFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

/* Error Styles */
.error {
    color: #FF6B6B;
    font-size: 0.85em;
    margin-top: 5px;
    min-height: 1.2em; /* Reserve space to prevent layout shift */
}

.form-divider {
    border-top: 1px solid rgba(138, 43, 226, 0.3);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.custom-control-label::before {
    background-color: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.5);
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #8A2BE2; /* Vestiq Purple */
    border-color: #00FFFF;     /* Cyan border */
}

.terms-label {
    font-size: 0.85rem;
    color: #b0b0b0;
    line-height: 1.4;
    cursor: pointer;
}

.terms-label a {
    text-decoration: underline;
}

/* Pricing Display Styles */
.price-container {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease;
}

.price-label {
    font-size: 0.9rem;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #00FFFF; /* Cyan */
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.price-salary {
    font-size: 0.85rem;
    color: #8A2BE2; /* Purple */
    margin-top: 5px;
}

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