@import url("../autobiz/editprofile.css");

.wa-edit-profile-page {
    --wa-profile-green: var(--primary, #128c7e);
    --wa-profile-green-dark: var(--primary-dark, #075e54);
    --wa-profile-ink: #173b36;
    --wa-profile-muted: #6b7f7a;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 0 42px;
    color: var(--wa-profile-ink);
}

.wa-profile-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 28px 32px;
    border: 1px solid rgba(18, 140, 126, .14);
    border-radius: 22px;
    background: linear-gradient(135deg, #075e54 0%, #128c7e 62%, #25d366 150%);
    box-shadow: 0 14px 30px rgba(7, 94, 84, .16);
}

.wa-profile-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wa-profile-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    font-weight: 800;
    letter-spacing: -.03em;
}

.wa-profile-hero p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: .92rem;
}

.wa-profile-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 10px;
    color: #fff !important;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none !important;
    background: rgba(255, 255, 255, .12);
    transition: background .2s ease, transform .2s ease;
}

.wa-profile-back:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .2);
    transform: translateY(-1px);
}

.wa-profile-shell {
    padding: 10px;
    border: 1px solid rgba(18, 140, 126, .12);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(7, 94, 84, .08);
}

.wa-edit-profile-page #accordion > .card {
    margin: 0 0 12px !important;
    overflow: hidden;
    border: 1px solid #e2eeeb !important;
    border-radius: 15px !important;
    box-shadow: none !important;
    background: #fff !important;
}

.wa-edit-profile-page #accordion > .card:last-child {
    margin-bottom: 0 !important;
}

.wa-edit-profile-page #accordion > .card > .card-header {
    padding: 0;
    border: 0;
    background: #fff;
}

.wa-edit-profile-page .card-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    color: var(--wa-profile-ink) !important;
    font-size: .92rem;
    font-weight: 750;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease;
}

.wa-edit-profile-page .card-link:hover,
.wa-edit-profile-page .card-link[aria-expanded="true"] {
    color: var(--wa-profile-green-dark) !important;
    background: #f0faf7;
}

.wa-edit-profile-page .card-link i {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    color: var(--wa-profile-green);
    background: #e8f7f2;
}

.wa-edit-profile-page .card-body {
    padding: 24px 22px 22px;
    border-top: 1px solid #edf4f2;
    background: #fff;
}

.wa-form-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 4px 0 17px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e4efec;
    color: var(--wa-profile-green-dark);
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .01em;
}

.wa-form-section-title:not(:first-child) {
    margin-top: 25px;
}

.wa-form-section-title i {
    color: var(--wa-profile-green);
}

.wa-edit-profile-page .form-group {
    margin-bottom: 17px;
}

.wa-edit-profile-page .form-group label,
.wa-edit-profile-page .form-group > span {
    display: block;
    margin-bottom: 7px;
    color: #415a54;
    font-size: .78rem;
    font-weight: 700;
}

.wa-edit-profile-page .form-control {
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #d8e7e3;
    border-radius: 9px;
    color: var(--wa-profile-ink);
    font-size: .88rem;
    background: #fbfefd;
    box-shadow: none;
}

.wa-edit-profile-page .form-control:focus {
    border-color: var(--wa-profile-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(18, 140, 126, .12);
}

.wa-edit-profile-page .row {
    margin-right: -9px;
    margin-left: -9px;
}

.wa-edit-profile-page .row > [class*="col-"] {
    padding-right: 9px;
    padding-left: 9px;
}

.wa-edit-profile-page .text-center {
    margin-top: 8px;
}

.wa-edit-profile-page .btn-primary,
.wa-edit-profile-page .btn-success {
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    border-radius: 9px;
    font-size: .84rem;
    font-weight: 750;
    background: var(--wa-profile-green) !important;
    box-shadow: 0 7px 16px rgba(18, 140, 126, .16);
}

.wa-edit-profile-page .btn-primary:hover,
.wa-edit-profile-page .btn-success:hover {
    background: var(--wa-profile-green-dark) !important;
}

.wa-edit-profile-page .btn-danger {
    border: 0;
    border-radius: 9px;
}

.wa-edit-profile-page .alert {
    border: 0;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .wa-edit-profile-page {
        padding: 10px 0 28px;
    }

    .wa-profile-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
        border-radius: 17px;
    }

    .wa-profile-back {
        width: 100%;
        justify-content: center;
    }

    .wa-profile-shell {
        padding: 6px;
        border-radius: 17px;
    }

    .wa-edit-profile-page .card-body {
        padding: 20px 14px 16px;
    }
}

.wa-profile-action-card .card-header {
    padding: 16px 18px;
    background: #fff;
}

.wa-profile-action-heading {
    display: flex;
    align-items: center;
    gap: 11px;
}

.wa-profile-action-heading > span:last-child {
    display: grid;
    gap: 3px;
}

.wa-profile-action-heading strong,
.wa-profile-link-card strong {
    color: var(--wa-profile-ink);
    font-size: .9rem;
}

.wa-profile-action-heading small,
.wa-profile-link-card small {
    color: var(--wa-profile-muted);
    font-size: .76rem;
    font-weight: 500;
}

.wa-profile-action-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 10px;
    color: var(--wa-profile-green);
    background: #e8f7f2;
}

.wa-profile-action-card .card-body {
    padding: 14px 18px 18px;
}

.wa-profile-link-card {
    margin-bottom: 12px !important;
}

.wa-profile-link-card .card-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 18px;
}

.wa-profile-link-card .card-link > span:nth-child(2) {
    display: grid;
    flex: 1;
    gap: 3px;
}

.wa-profile-link-arrow {
    margin-left: auto;
    color: var(--wa-profile-green);
    font-size: .8rem;
}

.wa-edit-profile-page .wa-profile-content > .card {
    overflow: hidden;
    border: 1px solid #e2eeeb !important;
    border-radius: 15px !important;
    box-shadow: none !important;
    background: #fff !important;
}

.wa-edit-profile-page .wa-profile-content > .card .card-header {
    border-bottom: 1px solid #edf4f2;
    background: #fff;
}

.wa-edit-profile-page .wa-profile-content > .card .card-body {
    background: #fff;
}

@media (max-width: 576px) {
    .wa-profile-action-heading small,
    .wa-profile-link-card small {
        line-height: 1.45;
    }
}
