.edit-profile-hero-section {
    text-align: center;
    margin-bottom: 25px;
}

.edit-profile-avatar {
    width: 70px;
    height: 70px;
    background-color: #8b5cf6;
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 10px;
    box-shadow: none;
}

.edit-profile-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}

.edit-profile-desc {
    font-size: 0.9rem;
    color: #777;
}

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

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

.form-group.half {
    width: 48%;
}

.form-row {
    display: flex;
    justify-content: space-between;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-left: 4px;
}

.m-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    background-color: #f8fafc;
    color: #333;
    transition: border-color 0.2s, background-color 0.2s;
    outline: none;
    font-family: inherit;
}

.m-input:focus {
    border-color: #8b5cf6;
    background-color: #fff;
}

/* ========================================
   Custom Dropdown (Sort-menu style)
   ======================================== */
.ep-dropdown-wrapper {
    position: relative;
    width: 100%;
}

.ep-dropdown-toggle {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    background-color: #f8fafc;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.2s, background-color 0.2s;
    user-select: none;
    font-family: inherit;
    font-weight: 500;
}

.ep-dropdown-toggle:hover {
    border-color: #cbd5e0;
}

.ep-dropdown-wrapper.open .ep-dropdown-toggle {
    border-color: #8b5cf6;
    background-color: #fff;
}

.ep-dropdown-arrow {
    font-size: 1.05rem;
    color: #666;
    transition: transform 0.2s;
}

.ep-dropdown-wrapper.open .ep-dropdown-arrow {
    transform: rotate(180deg);
}

.ep-dropdown-wrapper.disabled .ep-dropdown-toggle {
    background-color: #edf2f7;
    color: #a0aec0;
    cursor: not-allowed;
    border-color: #edf2f7;
}

.ep-dropdown-menu {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 3500;
    padding: 8px 0;
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 20px));
    border: 1px solid #e8e8e8;
    max-height: 250px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.ep-dropdown-wrapper.open .ep-dropdown-menu {
    display: block;
}

.ep-dropdown-option {
    padding: 10px 16px;
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ep-dropdown-option:hover {
    background-color: #f9f9f9;
    color: #8b5cf6;
}

.ep-dropdown-option:not(:last-child) {
    border-bottom: 1px solid #f5f5f5;
}

.ep-dropdown-option.active {
    color: #8b5cf6;
    font-weight: 700;
}

.ep-dropdown-check {
    width: 20px;
    text-align: right;
}

.ep-dropdown-option.active .ep-dropdown-check::after {
    content: '\2714';
    color: #8b5cf6;
    font-size: 1rem;
    font-weight: 700;
}




