/* ===========================================
   AUTH COMPONENT STYLES
   - Account selection screen
   - New account creation screen
   - Business coming soon
   =========================================== */

/* --- AUTH CONTAINER --- */
.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    background: var(--bg-color);
}

.auth-box {
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 20px 0;
}

.auth-box h2 {
    color: var(--gold);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.auth-box p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0 0 30px 0;
}

/* --- USER LIST (Account Selection) --- */
.user-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    max-height: 280px;
    overflow-y: auto;
    padding: 5px;
}

.user-card {
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 20px;
    border-radius: 16px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    font-family: var(--font-main);
    text-align: left;
    box-sizing: border-box;
}

.user-card:hover {
    border-color: var(--gold);
    background: rgba(207, 181, 106, 0.05);
    transform: translateY(-2px);
}

.user-card:active {
    transform: scale(0.98);
}

.user-card-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold) 0%, #E5C578 100%);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-right: 16px;
    flex-shrink: 0;
}

.user-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 4px;
}

.user-card-name {
    font-weight: 600;
    font-size: 16px;
    color: white;
}

.user-card-status {
    font-size: 12px;
    color: var(--text-secondary);
}

/* --- BUSINESS ACCOUNT PREVIEW (in account list) --- */
.business-preview-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    cursor: not-allowed;
    margin-bottom: 20px;
}

.business-preview-card .user-card-avatar {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: var(--text-secondary);
}

.business-preview-card .coming-soon-badge {
    background: rgba(207, 181, 106, 0.2);
    color: var(--gold);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- ADD ACCOUNT BUTTON --- */
.btn-add-account,
.btn-secondary {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-account:hover,
.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(207, 181, 106, 0.05);
}

/* --- ACCOUNT TYPE SELECTOR (Personal/Business toggle) --- */
.account-type-selector {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.account-type-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.account-type-btn:hover:not(.active) {
    color: white;
}

.account-type-btn.active {
    background: var(--gold);
    color: #000;
    box-shadow: 0 4px 15px rgba(207, 181, 106, 0.3);
}

/* --- BUSINESS COMING SOON SECTION --- */
.business-coming-soon {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.business-coming-soon .coming-soon-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.coming-soon-badge {
    background: rgba(207, 181, 106, 0.15);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(207, 181, 106, 0.3);
}

.business-coming-soon p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* --- HIDDEN CLASS --- */
.hidden {
    display: none !important;
}

/* --- SCROLLBAR STYLING --- */
.user-list::-webkit-scrollbar {
    width: 4px;
}

.user-list::-webkit-scrollbar-track {
    background: transparent;
}

.user-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.user-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===========================================
   PROFILE MODAL STYLES
   =========================================== */

/* --- PROFILE CARD --- */
.profile-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold) 0%, #E5C578 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.profile-details h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.tier-badge {
    display: inline-block;
    background: rgba(207, 181, 106, 0.15);
    color: var(--gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

/* --- PROFILE STATS --- */
.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item .label {
    color: var(--text-secondary);
    font-size: 13px;
}

.stat-item .value {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

/* --- PROFILE ACTIONS --- */
.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- BUTTON STYLES --- */
.btn-danger {
    width: 100%;
    padding: 16px;
    background: transparent;
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 12px;
    color: var(--danger);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.2s;
}

.btn-danger:hover {
    background: rgba(255, 68, 68, 0.1);
    border-color: var(--danger);
}

.btn-outline-gold {
    width: 100%;
    padding: 16px;
    background: transparent;
    border: 1px solid rgba(207, 181, 106, 0.3);
    border-radius: 12px;
    color: var(--gold);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-outline-gold:hover {
    background: rgba(207, 181, 106, 0.1);
    border-color: var(--gold);
}

.full-width {
    width: 100%;
}
