.edit-profile-page {
    width: 100%;
    margin: 0;
    padding: 24px 32px;
}

/* ---------------- Breadcrumb ---------------- */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    /* margin-bottom: 24px; */
    font-size: 14px;
}

.breadcrumb a {
    color: #808080;
    text-decoration: none;
}

.breadcrumb-separator {
    color: #D9D9D9;
}

.breadcrumb-current {
    color: #1C1C1C;
    font-weight: 600;
}

.header {
    display: flex;
    align-items: center;
    /* margin-bottom: 24px; */
}

/* ---------------- Card ---------------- */

.edit-profile-card {
    /* background-color: #ffffff; */
    border-radius: 30px;
    /* padding: 32px; */
}

/* ---------------- Profile Picture Section ---------------- */

.profile-picture-section {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Keeps actions at right */
    gap: 0px;
    padding: 24px;
    margin-bottom: 32px;
    background-color: #ffffff;
    border: 1px solid #F5F5F5;
    border-radius: 24px;
}

/* Avatar */

.avatar-wrapper {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #eaeaea;
}

/* Profile Info */

.profile-info {
    flex: 1;
}

.profile-info .name {
    font-size: 18px;
    font-weight: 700;
    color: #464646;
    margin-bottom: 4px;
}

.profile-info .role {
    font-size: 14px;
    color: #808080;
}

/* ---------------- Profile Actions (Buttons Horizontal) ---------------- */

.profile-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap; /* Prevent stacking */
}

/* Upload Button */

.upload-btn {
    width: 212px;
    height: 41px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    background: #222121;
    color: #ffffff;
    flex-shrink: 0;
}

.upload-btn:hover {
    background: #000000;
}

.upload-icon {
    width: 16px;
    height: 16px;
}

/* Remove Button */

.remove-btn {
    width: 130px;
    height: 41px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    background: #FFE9E9;
    color: #DA0000;
    flex-shrink: 0;
    margin-top: 12px;
}

.remove-btn:hover {
    background: #FFE5E5;
}

.close-icon {
    width: 16px;
    height: 16px;
}

/* ---------------- Form Section ---------------- */

.edit-profile-form {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.form-row {
    display: flex;
    gap: 0px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #A8A8A8;
}

.form-group input,
.form-group select {
    height: 56px;
    padding: 0 20px;
    border: 1px solid #DBDBDB;
    border-radius: 16px;
    font-size: 15px;
    color: #333;
    background: #ffffff;
    transition: border-color 0.2s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #222121;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 48px;
    cursor: pointer;
}

/* Update Button */

.update-btn {
    padding: 20px 32px;
    background: #222121;
    color: #ffffff;
    border: none;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
    margin-top: 20px;
    align-self: flex-start;
}

.update-btn:hover {
    background: #000000;
}

.update-icon {
    width: 16px;
    height: 16px;
}

/* ---------------- Responsive ---------------- */

@media screen and (min-width: 768px) {
    .edit-profile-page {
        padding: 0px 25px 25px 25px;
    }
    .profile-info .name {
        margin-bottom: 0px;
        margin-left: 10px;
    }
    .form-row {
    gap: 24px;
}
.profile-picture-section {
    padding: 32px;
}

    /* Show only upload icon on big screens */
    .upload-btn {
        width: 41px;
        padding: 0;
        font-size: 0;
    }

    .upload-btn .upload-icon {
        width: 20px;
        height: 20px;
        margin: 0;
    }
}

@media screen and (max-width: 767px) {
    .edit-profile-page {
        padding: 0;
    }

    .profile-picture-section {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    /* Buttons remain horizontal on mobile */
    .profile-actions {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .form-row {
        flex-direction: column;
    }

    .update-btn {
        width: 100%;
    }

    /* Set all h3 to 16px on mobile */
   
}