/* ==========================================================
   PROFILE PANEL WRAPPER
   (Mobile-safe padding + auto width)
========================================================== */
.profile-panel {
    padding: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Section titles */
.profile-section-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

/* ==========================================================
   AVATAR + COVER (RESPONSIVE)
========================================================== */
.profile-avatar-box,
.profile-cover-box {
    text-align: center;
    width: 100%;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    object-fit: cover;
}

/* Scale properly on phones */
.profile-cover {
    width: 100%;
    height: 28vw;
    /* dynamic — ~80px on desktop, scales on mobile */
    max-height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

/* ==========================================================
   INPUTS / TEXTAREAS
========================================================== */
.profile-label {
    display: block;
    margin-top: 12px;
    margin-bottom: 4px;
    font-size: 14px;
    color: #ddd;
}

.profile-input,
.profile-textarea,
.profile-file-input {
    width: 100%;
    box-sizing: border-box;
}

.profile-textarea {
    padding: 8px;
    border-radius: 6px;
    resize: vertical;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================
   SAVE BUTTON
========================================================== */
.profile-save-btn {
    margin-top: 16px;
    width: 100%;
}

/* ==========================================================
   MOBILE BREAKPOINTS
========================================================== */
@media (max-width: 480px) {

    .profile-panel {
        padding: 12px;
    }

    .profile-avatar {
        width: 75px;
        height: 75px;
    }

    .profile-section-title {
        font-size: 16px;
    }

    .profile-cover {
        height: 32vw;
        /* slightly taller on small screens */
    }

    /* Make text areas easier to tap */
    .profile-textarea {
        font-size: 14px;
    }
}