.account-profile-head-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.account-main .account-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 10px;
    background: linear-gradient(145deg, rgba(38, 44, 56, .94), rgba(12, 14, 20, .96));
    border-color: rgba(255, 255, 255, .34);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.account-main .account-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 13px 10px;
    color: rgba(245, 247, 251, .86);
}
.account-main .account-tabs a + a {
    border-left: 1px solid rgba(255, 255, 255, .12);
}
.account-main .account-tabs a:hover,
.account-main .account-tabs a.active {
    background: rgba(255, 255, 255, .055);
    color: #fff;
}
.account-main .account-panel {
    border-color: rgba(255, 255, 255, .30);
}
@media (max-width: 720px) {
    .account-main .account-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-main .account-tabs a:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
    .account-main .account-tabs a:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
.account-panel#profile {
    padding: 24px 28px;
}
.account-panel#profile .account-panel-head {
    margin-bottom: 16px;
}
.account-panel#profile .account-panel-head .eyebrow {
    margin-bottom: 5px;
}
.account-panel#profile h2 {
    font-size: 26px;
}
.account-form > fieldset.account-profile-fields {
    display: grid;
    gap: 12px;
}
.account-profile-fields label {
    display: grid;
    gap: 6px;
}
.account-profile-fields input,
.account-profile-fields select {
    min-height: 44px;
    padding: 9px 14px;
}
.account-profile-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    min-width: 190px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 42, 56, .82);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 52%), linear-gradient(135deg, rgba(14, 16, 22, .94), rgba(38, 10, 15, .9));
    box-shadow: 0 0 0 1px rgba(236, 28, 36, .14), 0 0 22px rgba(236, 28, 36, .3), inset 0 0 18px rgba(236, 28, 36, .12), inset 0 1px 0 rgba(255, 255, 255, .18);
    clip-path: polygon(13px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 7px 100%, 0 calc(100% - 7px), 0 13px);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}
.account-profile-edit:hover { border-color: #ff2634; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 0 34px rgba(236, 28, 36, .58), inset 0 0 26px rgba(236, 28, 36, .18); transform: translateY(-1px); }
.account-actions-locked {
    margin-top: 6px;
}
.account-panel#profile .account-actions,
.contact-panel .account-actions {
    padding-top: 0;
}
.account-panel#profile .account-actions button,
.contact-panel .account-actions button {
    min-height: 36px;
    min-width: 190px;
    padding: 7px 16px;
    font-size: 12px;
}
.account-form > fieldset { display: contents; margin: 0; padding: 0; border: 0; }
.account-form.is-locked input,
.account-form.is-locked select {
    cursor: default;
    opacity: 1;
    color: #f4f6fa;
    -webkit-text-fill-color: #f4f6fa;
    border-color: rgba(255, 255, 255, .1);
    background: rgba(9, 12, 18, .62);
}
.account-form.is-locked label { color: rgba(225, 229, 237, .68); }
.contact-panel .language-actions button:disabled {
    cursor: default;
    opacity: .35;
    pointer-events: none;
}
.contact-panel .spoken-level {
    width: min(190px, 100%);
    min-height: 38px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 51, 64, .36);
    border-radius: 6px;
    background: rgba(7, 10, 16, .78);
    color: #fff;
}
.contact-panel .spoken-state {
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.password-input-wrap {
    display: block;
    position: relative;
}
.password-input-wrap input {
    width: 100%;
    padding-right: 58px;
}
.password-input-wrap input[type="password"] {
    letter-spacing: .18em;
}
.password-visibility {
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    box-shadow: none;
    cursor: pointer;
}
.password-visibility:hover,
.password-visibility.is-visible {
    border-color: rgba(255, 51, 64, .62);
    background: rgba(255, 51, 64, .1);
}
.password-eye {
    width: 18px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, .76);
    border-radius: 50% / 60%;
    position: relative;
}
.password-eye::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #ff3340;
}
.password-visibility.is-visible .password-eye::before {
    content: "";
    position: absolute;
    top: 4px;
    left: -3px;
    width: 21px;
    height: 2px;
    transform: rotate(-35deg);
    background: #ff3340;
    box-shadow: 0 0 5px rgba(255, 51, 64, .45);
}
@media (max-width: 700px) {
    .account-profile-head-actions { align-items: flex-end; flex-direction: column; }
    .account-panel#profile { padding: 20px 18px; }
    .account-profile-fields .account-two { grid-template-columns: 1fr; }
}
