/* ================= PROFILE LAYOUT ================= */
.profile-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
}

/* Left Side */
.profile-left {
    position: sticky;
    top: 90px;
}

/* Profile Card */
.profile-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* Avatar */
.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    font-size: 34px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Camera Button */
.profile-camera-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Profile Details Card */
.profile-details-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #333;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .profile-left {
        position: static;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

.profile-name-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.profile-name {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.edit-name-btn {
    background: transparent;
    border: none;
    color: #198754;
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s;
}

.edit-name-btn:hover {
    background: rgba(25, 135, 84, 0.1);
    color: #157347;
}

.edit-name-box {
    margin-top: 8px;
}

.edit-name-box input {
    max-width: 220px;
    margin: 0 auto;
    border-radius: 8px;
}

.edit-name-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}