/* ============================================================
   STRAATZAKEN026 — Profile Styles (Modern)
   ============================================================ */

.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
}

.profile-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg, 12px);
    padding: 2rem;
    text-align: center;
    height: fit-content;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.profile-card:hover {
    box-shadow: var(--shadow-lg);
}

.profile-avatar-section {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.profile-avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #EAAA00;
    box-shadow: 0 4px 12px rgba(234, 170, 0, 0.3);
}

.profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 auto;
    border: 4px solid #EAAA00;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.avatar-upload-form {
    position: absolute;
    bottom: 0;
    right: 0;
}

.avatar-upload-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    border: 2px solid #EAAA00;
    transition: var(--transition);
}

.avatar-upload-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

.profile-username {
    font-size: 1.5rem;
    font-weight: 700;
    color: #E2E8F0;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.profile-role {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
    color: #0F172A;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.profile-role.admin {
    background: linear-gradient(135deg, #EAAA00 0%, #D4A017 100%);
}

.profile-meta {
    text-align: left;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.profile-meta p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.profile-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.profile-form-card .card-header {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-form-card .card-header h2 {
    margin: 0;
    color: #EAAA00;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.profile-form-card .card-body {
    padding: 1.5rem;
}
