/* Variable Definitions */
:root {
    --primary-dark: #0f172a;
    --accent-color: #facc15;
    --text-slate: #64748b;
    --bg-light: #f8fafc;
}

body {
    background-color: var(--bg-light);
    font-family: 'Inter', sans-serif;
}

/* Profile Header */
.profile-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
    padding: 60px 0 100px;
    color: white;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* Card Styling */
.profile-card {
    background: #ffffff;
    border-radius: 24px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    padding: 35px;
    margin-top: -80px;
}

/* Form Elements */
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 25px 0 15px;
    border-left: 5px solid var(--accent-color);
    padding-left: 12px;
}

.form-label {
    font-weight: 600;
    color: var(--text-slate);
    font-size: 0.85rem;
}

.form-control {
    border-radius: 12px;
    padding: 12px 18px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.1);
    background-color: #fff;
}

/* Search Results Dropdown */
.search-container {
    position: relative;
}

.search-results {
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 2000;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    display: none;
}

.search-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    font-weight: 600;
}

/* Button Styling */
.btn-update {
    background: var(--primary-dark);
    color: var(--accent-color);
    border: none;
    padding: 15px;
    border-radius: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    width: 100%;
    transition: 0.4s;
    text-transform: uppercase;
}

.btn-update:hover {
    background: #1e293b;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.form-control:disabled {
    background-color: #f1f5f9;
    cursor: not-allowed;
    opacity: 0.7;
}