/* Profile Page Specific Styles */

:root {
    --apple-blue: #007AFF;
    --light-gray: #F2F2F7;
    --medium-gray: #E5E5EA;
    --pure-black: #000000;
    --shadow-color: rgba(0, 0, 0, 0.08);
}

/* Typography */
.h1-gradient {
    background: linear-gradient(180deg, #333333 0%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Professional Card Style */
.profile-card {
    background-color: white;
    border-radius: 1.25rem;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--medium-gray);
}

/* --- INPUT FIELDS (Matches rounded-lg buttons) --- */
.input-field {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem; /* Standard padding */
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1f2937; 
    background-color: #f3f4f6; 
    background-clip: padding-box;
    border: 1px solid transparent; 
    
    /* THE FIX: Matches 'rounded-lg' / 'rounded-xl' aesthetic */
    border-radius: 0.75rem !important; /* 12px */
    
    /* Remove default browser/Tailwind Forms styling */
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    
    transition: all 0.2s ease-in-out;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
    outline: none !important; 
}

/* Hover State */
.input-field:hover {
    background-color: #e5e7eb; 
}

/* Focus State */
.input-field:focus {
    background-color: #ffffff;
    border-color: var(--apple-blue) !important;
    /* Ring follows the border-radius */
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15) !important; 
}

.input-field::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Label Styling Helper */
.input-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 0.5rem;
    margin-left: 0.25rem; /* Slight indent */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Apple-style Segmented Control */
.segmented-group {
    background-color: #F3F4F6;
    padding: 4px;
    border-radius: 0.75rem; /* Matches inputs */
    display: flex;
    gap: 0;
    border: 1px solid #E5E7EB;
}
.segmented-option {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6B7280;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.segmented-option:hover:not(.active) {
    color: #374151;
}
.segmented-option.active {
    background-color: white;
    color: black;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
