/* ==========================================================================
   EDIT PROFILE PAGE STYLES (Women Accessories)
   File: public/assets/css/edit_profile.css
   ========================================================================== */

/* Breadcrumb Bar (#f8f8f8) */
.edit-profile-breadcrumb-bar {
    width: 100%;
    background-color: #f8f8f8;
    padding-top: clamp(1.4rem, 1.6vw, 2.0rem);
    padding-bottom: clamp(1.4rem, 1.6vw, 2.0rem);
    border-bottom: 1px solid #f0f0f0;
}

.edit-profile-breadcrumb-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: clamp(2.4rem, 4.8vw, 7.8rem);
    padding-right: clamp(2.4rem, 4.8vw, 7.8rem);
}

.edit-profile-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.2rem, 0.95vw, 1.35rem);
    color: #595959;
    line-height: 1;
    margin: 0;
    flex-wrap: wrap;
}

.edit-profile-breadcrumb-link {
    color: #595959;
    text-decoration: none;
    transition: color 0.2s ease;
}

.edit-profile-breadcrumb-link:hover {
    color: #111111;
    text-decoration: none;
}

.edit-profile-breadcrumb-sep {
    color: #777777;
    margin: 0 0.2rem;
}

.edit-profile-breadcrumb-badge {
    background-color: #ff97aa;
    color: #111111;
    font-weight: 500;
    font-size: clamp(1.15rem, 0.9vw, 1.25rem);
    padding: 0.45rem 1.4rem;
    border-radius: 5rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.2rem 0.6rem rgba(255, 151, 170, 0.25);
}

/* ==========================================================================
   MAIN EDIT PROFILE SECTION
   ========================================================================== */

.edit-profile-main-section {
    background-color: #ffffff;
    padding-top: clamp(3.2rem, 4.2vw, 5.6rem);
    padding-bottom: clamp(6.4rem, 8.8vw, 12.0rem);
    width: 100%;
}

.edit-profile-main-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: clamp(2.4rem, 4.8vw, 7.8rem);
    padding-right: clamp(2.4rem, 4.8vw, 7.8rem);
}

/* Header Row: < BACK & Personal Profile Title */
.edit-profile-header-wrap {
    display: flex;
    align-items: flex-start;
    gap: clamp(2.0rem, 3.2vw, 4.8rem);
    margin-bottom: clamp(2.8rem, 3.4vw, 4.4rem);
}

.edit-profile-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.3rem, 1.0vw, 1.45rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #111111;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    margin-top: 0.4rem;
}

.edit-profile-back-link:hover {
    color: #000000;
    transform: translateX(-3px);
    text-decoration: none;
}

.edit-profile-back-link .back-chevron {
    font-size: 1.2em;
    line-height: 1;
}

.edit-profile-title-block {
    display: flex;
    flex-direction: column;
}

.edit-profile-main-title {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.6rem, 2.8vw, 3.6rem);
    font-weight: 500;
    color: #111111;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.edit-profile-main-subtitle {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.25rem, 0.95vw, 1.4rem);
    color: #555555;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

/* Horizontal Divider */
.edit-profile-divider {
    width: 100%;
    height: 1px;
    background-color: #eeeeee;
    margin: 0 0 clamp(3.2rem, 4.0vw, 5.2rem) 0;
    border: none;
}

/* ==========================================================================
   PROFILE PICTURE SECTION
   ========================================================================== */

.edit-profile-picture-section {
    display: flex;
    align-items: center;
    gap: clamp(2.0rem, 2.6vw, 3.6rem);
    margin-bottom: clamp(3.6rem, 4.6vw, 6.0rem);
}

.edit-avatar-container {
    position: relative;
    width: clamp(7.6rem, 7.2vw, 9.2rem);
    height: clamp(7.6rem, 7.2vw, 9.2rem);
    flex-shrink: 0;
}

.edit-avatar-img-wrap {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    box-shadow: 0 0.4rem 1.4rem rgba(0, 0, 0, 0.08);
}

.edit-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Cyan round pencil edit badge on avatar */
.edit-avatar-badge-btn {
    position: absolute;
    bottom: 0.2rem;
    right: 0.2rem;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background-color: #35f3ff;
    color: #000000;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.12);
}

.edit-avatar-badge-btn:hover {
    transform: scale(1.1);
    background-color: #1fe0ee;
}

.edit-avatar-info {
    display: flex;
    flex-direction: column;
}

.edit-avatar-title {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.6rem, 1.3vw, 1.9rem);
    font-weight: 500;
    color: #111111;
    margin: 0 0 0.4rem 0;
    line-height: 1.2;
}

.edit-avatar-hint {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.15rem, 0.9vw, 1.25rem);
    color: #6b7280;
    margin: 0 0 1.2rem 0;
    line-height: 1.2;
}

/* UPLOAD NEW Button (Pink) */
.btn-upload-new-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: #ff97aa;
    color: #000000;
    border: none;
    border-radius: 5rem;
    padding: 0.75rem 2.0rem;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.15rem, 0.9vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    width: fit-content;
    box-shadow: 0 0.2rem 0.6rem rgba(255, 151, 170, 0.25);
}

.btn-upload-new-avatar:hover {
    background-color: #ff8298;
    color: #000000;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 0.4rem 1.4rem rgba(255, 151, 170, 0.4);
}

.btn-upload-new-avatar .btn-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 1.1em;
    line-height: 1;
}

.btn-upload-new-avatar:hover .btn-arrow,
.btn-edit-profile-save:hover .btn-arrow {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   FORM FIELDS GRID
   ========================================================================== */

.edit-profile-form {
    width: 100%;
}

.edit-form-field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: clamp(2.4rem, 2.8vw, 3.6rem);
}

.edit-form-label {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.15rem, 0.9vw, 1.25rem);
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    line-height: 1.2;
}

.edit-form-input {
    width: 100%;
    height: clamp(4.6rem, 4.4vw, 5.2rem);
    border: 1px solid #e5e7eb;
    border-radius: 5rem;
    background-color: #ffffff;
    padding: 0 clamp(1.8rem, 2.0vw, 2.6rem);
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.4rem, 1.1vw, 1.55rem);
    font-weight: 400;
    color: #111111;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.edit-form-input:focus {
    border-color: #111111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.edit-form-input::placeholder {
    color: #9ca3af;
}

/* Save Changes Centered Button */
.edit-profile-action-row {
    display: flex;
    justify-content: center;
    margin-top: clamp(2.8rem, 3.6vw, 4.8rem);
    width: 100%;
}

.btn-edit-profile-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #35f3ff;
    color: #000000;
    border: none;
    border-radius: 5rem;
    padding: clamp(1.1rem, 1.2vw, 1.4rem) clamp(3.6rem, 4.2vw, 5.6rem);
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.3rem, 1.0vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0.3rem 1.0rem rgba(53, 243, 255, 0.3);
}

.btn-edit-profile-save:hover {
    background-color: #21e2ee;
    color: #000000;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 0.6rem 1.8rem rgba(53, 243, 255, 0.5);
}

.btn-edit-profile-save .btn-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 1.15em;
    line-height: 1;
}

/* Feedback alert */
.edit-profile-toast-banner {
    display: none;
    margin: 0 auto 2.4rem auto;
    padding: 1.4rem 2.0rem;
    border-radius: 1.6rem;
    font-family: 'Urbanist', sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    align-items: center;
    gap: 1.0rem;
    max-width: 60rem;
    animation: fadeInSlide 0.3s ease forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 767px) {
    .edit-profile-header-wrap {
        flex-direction: column;
        gap: 1.6rem;
    }

    .edit-profile-picture-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.8rem;
    }

    .btn-edit-profile-save {
        width: 100%;
        max-width: 36rem;
    }
}

@media (max-width: 575px) {
    .edit-profile-main-container,
    .edit-profile-breadcrumb-container {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }

    .btn-edit-profile-save {
        max-width: 100%;
    }
}
