/* Modern Auth Page Styling */
.auth-section {
    padding: 100px 0;
    min-height: 80vh;
}

.auth-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background: #fff;
    padding: 2.5rem;
}

.auth-title {
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.auth-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

/* Modern Tabs */
.auth-tabs {
    background: #f3f4f6;
    padding: 4px;
    border-radius: 12px;
    display: flex;
    margin-bottom: 32px;
}

.auth-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.2s ease;
    text-align: center;
    cursor: pointer;
    font-size: 0.875rem;
}

.auth-tab-btn.active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.auth-tab-btn:focus {
    outline: 2px solid transparent;
    /* Hide default focus */
}

/* Unified Input Fields */
.input-group-unified {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    /* Rounded corners for the whole group */
    background-color: #fff;
    transition: all 0.2s;
    overflow: hidden;
    /* Ensure children don't bleed out */
}

.input-group-unified:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    /* Ring effect */
}

.input-group-unified .input-group-text {
    background: transparent;
    border: none;
    color: #9ca3af;
    padding-left: 1rem;
    padding-right: 0.5rem;
    display: flex;
    align-items: center;
}

.input-group-unified .form-control {
    border: none;
    box-shadow: none !important;
    padding: 12px 1rem 12px 0.5rem;
    /* Adjust padding */
    height: auto;
    font-size: 0.875rem;
    color: #1f2937;
    width: 100%;
    /* Ensure it takes remaining space */
}

.input-group-unified .form-control::placeholder {
    color: #9ca3af;
}

/* Account Type Selector */
.account-type-selector {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.account-type-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1e40af;
    margin-bottom: 12px;
    display: block;
}

.custom-radio-container {
    display: flex;
    gap: 24px;
}

.custom-control-label {
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.custom-control-input {
    cursor: pointer;
}

/* Section Headers */
.form-section-header {
    background: #f9fafb;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    margin-bottom: 16px;
    margin-top: 24px;
    letter-spacing: 0.05em;
}

/* Buttons */
.btn-primary-modern {
    background: #2563eb;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    width: 100%;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.875rem;
}

.btn-primary-modern:hover {
    background: #1d4ed8;
    color: white;
    text-decoration: none;
}

.btn-primary-modern:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4);
}

/* Hidden Utility */
.d-none-custom {
    display: none !important;
}

/* Link Styling */
.text-primary-modern {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.text-primary-modern:hover {
    color: #1d4ed8;
    text-decoration: underline;
}