.adviser-box {
    max-width: 390px;
    background: var(--background);
    border: 1px solid var(--border);
}

.adviser-subtitle {
    color: #888;
    font-size: 14px;
    text-align: center;
    font-weight: 400;
    margin-bottom: 14px;
}

/* Form Select Styling */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' 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;
    padding-right: 40px;
    cursor: pointer;
}

.form-select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b86e5' 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");
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    line-height: 1.5;
}

.form-textarea::placeholder {
    color: #666;
    font-style: italic;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 0;
    margin-top: 20px;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #5b86e5;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-text {
    color: #ccc;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

.checkbox-text a {
    color: #5b86e5;
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* Form Label Styling */
.form-label {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    margin-top: 20px;
}

.adviser-button {
    background: white;
    border: none;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
}

.form-group:has(.form-select) {
    position: relative;
}

.form-group:has(.form-select)::before {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

/* Bio Field Highlight */
.form-group:has(.form-textarea)::before {
    position: absolute;
    left: 12px;
    top: 20px;
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

.form-group:has(.form-textarea) .form-textarea {
    padding-top: 20px;
}

/* Professional Info Icons */
.form-group:has(input[name="company"])::before {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

.form-group:has(input[name="licenseNumber"])::before {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}


.form-group:has(input[name="website"])::before {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}


.form-group:has(input[name="yearsExperience"])::before {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

/* Enhanced Form Input Focus */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #5b86e5;
    box-shadow: 0 0 0 3px rgba(91, 134, 229, 0.1);
    background-color: rgba(91, 134, 229, 0.05);
}

/* Professional Badge */
.adviser-box::before {
    content: "PROFESSIONAL";
    background: black;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 768px) {
    .adviser-box {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .checkbox-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .form-checkbox {
        margin-top: 0;
    }
}

/* Dark theme enhancements */
.adviser-box h1 {
    margin-top: 30px;
    line-height: normal;
}

.login-links p {
    color: #aaa;
    line-height: normal;
}

.login-links a {
    text-decoration: none;
    font-weight: 700;
}

.login-links a:hover {
    text-decoration: none;
}

/* PayPal Link Styling */
.paypal-link {
    display: inline-flex;
    align-items: center;
    color: #0070ba;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #0070ba;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(0, 112, 186, 0.1);
}

.paypal-link:hover {
    background: #0070ba;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 112, 186, 0.3);
}

.paypal-link i {
    font-size: 1.2rem;
}