.profile-edit-page {
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', Arial, sans-serif;
    background: #f8f6f2;
    color: #1c1c1c;
    font-family: var(--font-body);
    min-height: 100vh;
}

.profile-edit-page *,
.profile-edit-page *::before,
.profile-edit-page *::after {
    box-sizing: border-box;
}

.profile-top-image {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    margin-top: -150px;
    z-index: 0;
}

.profile-top-image img {
    width: 100%;
    height: 480px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.profile-top-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.profile-edit-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 320px 1fr;
    background: #f8f6f2;
}

.profile-sidebar {
    background: #f7f5f0;
    border-right: 1px solid rgba(166, 144, 128, 0.25);
}

.profile-sidebar-inner {
    padding: 48px 24px 40px;
}

.profile-page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 34px;
    color: #111;
}

.profile-sidebar-meta {
    margin-top: 30px;
    color: #3a3a3a;
    font-size: 0.98rem;
    line-height: 1.75;
}

.profile-sidebar-meta p {
    margin: 0;
}

.profile-sidebar-meta p + p {
    margin-top: 10px;
}

.profile-meta-heading {
    margin: 0 0 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a69080;
}

.profile-form-panel {
    padding: 48px 54px 70px;
}

.profile-form-inner {
    max-width: 920px;
}

.profile-form-title {
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    color: #111;
}

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

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.profile-field-group,
.profile-field-group .input {
    width: 100%;
}

.profile-field-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.profile-field-group input,
.profile-field-group select,
.profile-field-group .input input,
.profile-field-group .input select {
    width: 100% !important;
    min-height: 60px;
    border: 1px solid #c8c0b7;
    background: #fcfbf8;
    color: #1c1c1c;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 18px 16px;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.profile-field-group input:focus,
.profile-field-group select:focus {
    border-color: #1c1c1c;
    background: #ffffff;
}

.profile-field-group.has-error input,
.profile-field-group.has-error select {
    border-color: #b3261e !important;
    background: #fff8f8 !important;
    box-shadow: 0 0 0 1px rgba(179, 38, 30, 0.22) !important;
}

.profile-field-group.has-error label {
    color: #b3261e !important;
}

.profile-live-error {
    display: block;
    margin-top: 7px;
    color: #b3261e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.profile-field-group.has-success input,
.profile-field-group.has-success select {
    border-color: #2e7d32;
}

.profile-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 34px;
    gap: 16px;
}

.profile-cancel-btn {
    min-width: 150px;
    padding: 16px 28px;
    border: 1px solid #ddd;
    background: #fff;
    color: #111;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

.profile-save-btn {
    min-width: 170px;
    padding: 17px 34px;
    border: 0;
    border-radius: 14px;
    background: #9b756b;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.profile-save-btn:hover {
    background: #7f5f57;
}

.profile-delete-link {
    color: #d32f2f;
    font-weight: 700;
    text-decoration: none;
}

.profile-delete-link:hover {
    text-decoration: underline;
}

.profile-account-links {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.profile-account-link {
    color: #d32f2f;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
}

.profile-account-link:hover {
    text-decoration: underline;
}

.profile-password-section {
    margin-top: 28px;
    border-top: 1px solid rgba(166, 144, 128, 0.28);
    padding-top: 24px;
}

.profile-password-title {
    margin: 0 0 6px;
    font-size: 1.2rem;
    color: #1a1a1a;
}

.profile-password-hint {
    margin: 0 0 16px;
    color: #5a544f;
    font-size: 0.92rem;
}

.profile-password-grid {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 1200px) {
    .profile-edit-shell {
        grid-template-columns: 280px 1fr;
    }

    .profile-form-panel {
        padding: 40px 32px 56px;
    }
}

@media (max-width: 980px) {
    .profile-edit-shell {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(166, 144, 128, 0.25);
    }

    .profile-sidebar-inner {
        padding: 32px 22px;
    }

    .profile-form-grid {
        grid-template-columns: 1fr;
    }

    .profile-form-panel {
        padding: 32px 22px;
    }
}

.profile-edit-page {
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', Arial, sans-serif;
    background: #f8f6f2;
    color: #1c1c1c;
    font-family: var(--font-body);
    min-height: 100vh;
}

.profile-edit-page *,
.profile-edit-page *::before,
.profile-edit-page *::after {
    box-sizing: border-box;
}

.profile-top-image {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    margin-top: -150px;
    z-index: 0;
}

.profile-top-image img {
    width: 100%;
    height: 480px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.profile-top-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.profile-edit-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 320px 1fr;
    background: #f8f6f2;
}

.profile-sidebar {
    background: #f7f5f0;
    border-right: 1px solid rgba(166, 144, 128, 0.25);
}

.profile-sidebar-inner {
    padding: 48px 24px 40px;
}

.profile-page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 34px;
    color: #111;
}

.profile-sidebar-meta {
    margin-top: 30px;
    color: #3a3a3a;
    font-size: 0.98rem;
    line-height: 1.75;
}

.profile-sidebar-meta p {
    margin: 0;
}

.profile-sidebar-meta p + p {
    margin-top: 10px;
}

.profile-meta-heading {
    margin: 0 0 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a69080;
}

.profile-form-panel {
    padding: 48px 54px 70px;
}

.profile-form-inner {
    max-width: 920px;
}

.profile-form-title {
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    color: #111;
}

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

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.profile-field-group,
.profile-field-group .input {
    width: 100%;
}

.profile-field-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.profile-field-group input:focus,
.profile-field-group select:focus {
    border-color: #1c1c1c;
    background: #ffffff;
}

.profile-field-group.has-error input,
.profile-field-group.has-error select {
    border-color: #b3261e !important;
    background: #fff8f8 !important;
    box-shadow: 0 0 0 1px rgba(179, 38, 30, 0.22) !important;
}

.profile-field-group.has-error label {
    color: #b3261e !important;
}

.profile-live-error {
    display: block;
    margin-top: 7px;
    color: #b3261e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.profile-field-group.has-success input,
.profile-field-group.has-success select {
    border-color: #2e7d32;
}

.profile-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 34px;
    gap: 16px;
}

.profile-cancel-btn {
    min-width: 150px;
    padding: 16px 28px;
    border: 1px solid #ddd;
    background: #fff;
    color: #111;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

.profile-save-btn {
    min-width: 170px;
    padding: 17px 34px;
    border: 0;
    border-radius: 14px;
    background: #9b756b;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.profile-save-btn:hover {
    background: #7f5f57;
}

.profile-delete-link {
    color: #d32f2f;
    font-weight: 700;
    text-decoration: none;
}

.profile-delete-link:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .profile-edit-shell {
        grid-template-columns: 280px 1fr;
    }

    .profile-form-panel {
        padding: 40px 32px 56px;
    }
}

@media (max-width: 980px) {
    .profile-edit-shell {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(166, 144, 128, 0.25);
    }

    .profile-sidebar-inner {
        padding: 32px 22px;
    }

    .profile-form-grid {
        grid-template-columns: 1fr;
    }

    .profile-form-panel {
        padding: 32px 22px;
    }
}

.section-settings {
    border-bottom: 1px solid var(--admin-line);
    min-height: 86px;
    padding: 18px 0 14px;
}

.settings-name-field {
    display: flex;
    flex-direction: column;
    position: relative;
}
.settings-name-field label {
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

input {
    width: 100%;
    border: 1px solid #c8c0b7;
    background: #fcfbf8;
    color: #1c1c1c;
    font-size: 1rem;
    padding: 18px 16px;
    border-radius: 0;
    outline: none;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}


@media (max-width: 640px) {
    .profile-top-image {
        height: 420px;
        margin-top: -138px;
    }

    .profile-top-image img {
        height: 420px;
    }

    .profile-form-title {
        font-size: 1.8rem;
    }

    .profile-actions-row {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-cancel-btn,
    .profile-save-btn {
        width: 100%;
    }

    .contact-top-image {
        position: relative;
        width: 100%;
        height: 480px;
        overflow: hidden;
        margin-top: -150px;
        z-index: 0;
    }

    .contact-top-image img {
        width: 100%;
        height: 480px;
        display: block;
        object-fit: cover;
        object-position: center;
    }

    .contact-top-image-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.18);
        pointer-events: none;
    }

    .contact-page-shell {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 320px 1fr;
        min-height: auto;
        background: #f8f6f2;
    }
    .phone-wrap {
        display: grid;
        grid-template-columns: 98px 1fr;
        border: 1px solid #c8c0b7;
        background: #fcfbf8;
    }

    .phone-prefix {
        display: flex;
        align-items: center;
        justify-content: center;
        border-right: 1px solid #c8c0b7;
        background: #f4eee7;
        min-height: 60px;
        font-size: 1rem;
    }

    .phone-wrap input {
        border: 0 !important;
        background: transparent !important;
    }

    .profile-field-group.has-error .phone-wrap {
        border-color: #b3261e !important;
        background: #fff8f8 !important;
        box-shadow: 0 0 0 1px rgba(179, 38, 30, 0.22) !important;
    }

    .profile-field-group.has-success .phone-wrap {
        border-color: #2e7d32 !important;
    }

}

.save-btn, .dashboard-btn, .delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;

    transition: all 0.25s ease;
}

.save-btn, .delete-btn {
    border: 1px solid #171411;
    background: #171411;
    color: #fffdfa;
    width: 128px;
    height: 38px;
}

.dashboard-btn {
    border: 1px solid rgba(23, 20, 17, 0.26);
    background: #fffdfa;
    color: #303030;
    margin-left: auto;
    width: 98px;
    height: 38px;
}




.save-btn:hover{
    background: white;
    border-color: #101010;
    color: #101010;
    transform: scale(1.05);
}



.delete-btn:hover {
    border: 1px solid #cc0000;
    background: #ff0000;
    color: #ffffff;
    transform: scale(1.05);
}

.dashboard-btn:hover{
    background: black;
    border: white;
    color: white;
    transform: scale(1.05);
}

.header-row-right-settings {
    display: flex;
}

.delete-button-div {
    padding-top: 14px;
}



