

/* =========================
   PROFILE EDIT SCREEN
========================= */

.profile-edit-screen {
    position: absolute;
    inset: 0;

    overflow-y: auto;

    padding: 20px;

    background:
        radial-gradient(
            circle at top,
            rgba(59,130,246,0.12),
            transparent 30%
        ),
        #09103f;

    color: white;

    font-family: "Inter", sans-serif;

background-color: #09103f;
    background-image: url("/client/assets/images/bg/profile_bg_portrait.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (orientation: landscape) {
    #profile-delete-root {
        background-image: url("/client/assets/images/bg/profile_bg_landscape.jpg");
    }
}
/* =========================
   TOPBAR
========================= */

.profile-edit-topbar {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 28px;
}

.profile-edit-back-btn {
    width: 42px;
    height: 42px;

    border: none;
    border-radius: 12px;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.14),
            rgba(255,255,255,0.05)
        );

    color: white;

    font-size: 20px;

    transition:
        transform 0.18s ease;
}

.profile-edit-back-btn:hover {
    transform: translateY(-2px);
}

.profile-edit-title {
    font-size: 24px;
    font-weight: 700;

    font-family: "Sora", sans-serif;
}

/* =========================
   SECTIONS
========================= */

.profile-edit-section {
    margin-bottom: 24px;

    padding: 22px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.10),
            rgba(255,255,255,0.04)
        );

    border:
        1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(12px);

    box-shadow:
        0 18px 40px rgba(0,0,0,0.25);
}

.profile-edit-section-title {
    font-size: 18px;
    font-weight: 700;

    margin-bottom: 20px;

    font-family: "Sora", sans-serif;
}

.profile-edit-section-title.danger {
    color: #f87171;
}

/* =========================
   INPUTS
========================= */

.profile-edit-field {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-bottom: 18px;
}

.profile-edit-field label {
    font-size: 14px;
    font-weight: 600;

    color: rgba(255,255,255,0.8);
}

.profile-edit-field input {
    width: 100%;

    border: none;
    outline: none;

    border-radius: 16px;

    padding: 14px 16px;

    background:
        rgba(255,255,255,0.08);

    color: white;

    font-size: 15px;

    transition:
        border 0.2s ease,
        background 0.2s ease;
}

.profile-edit-field input:focus {
    background:
        rgba(255,255,255,0.12);

    border:
        1px solid rgba(59,130,246,0.6);
}

/* =========================
   ACTION ITEMS
========================= */

.profile-edit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    padding: 16px 0;

    border-bottom:
        1px solid rgba(255,255,255,0.06);
}

.profile-edit-item:last-child {
    border-bottom: none;
}

.profile-edit-item span {
    font-size: 15px;
    font-weight: 600;
}

/* =========================
   BUTTONS
========================= */

.profile-edit-action-btn {
    border: none;

    border-radius: 12px;

    padding: 10px 16px;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            #3b82f6,
            #2563eb
        );

    color: white;

    font-weight: 700;

    transition:
        transform 0.18s ease,
        opacity 0.2s ease;
}

.profile-edit-action-btn:hover {
    transform: translateY(-1px);
}

.danger-btn {
    background:
        linear-gradient(
            135deg,
            #ef4444,
            #dc2626
        );
}

/* =========================
   SAVE BUTTON
========================= */

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

    border: none;
    border-radius: 20px;

    padding: 18px;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            #22c55e,
            #16a34a
        );

    color: white;

    font-size: 16px;
    font-weight: 700;

    box-shadow:
        0 14px 30px rgba(34,197,94,0.35);

    transition:
        transform 0.18s ease;
}

.profile-edit-save-btn:hover {
    transform: translateY(-2px);
}

.profile-edit-save-btn:active {
    transform: scale(0.98);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 500px) {

    .profile-edit-screen {
        padding: 18px;
    }

    .profile-edit-section {
        padding: 20px;
    }

    .profile-edit-title {
        font-size: 22px;
    }
}