.fa-ms-hidden {
    display: none !important;
}

.fa-ms-labeled-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fa-ms-field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fct-customer-dashboard-text-color, rgba(243, 244, 246, 0.72));
}

#account-details > .fa-ms-labeled-field .el-input__wrapper,
#fa-ms-fluentcart-profile-panel .fa-ms-labeled-field .el-input__wrapper,
.fa-ms-labeled-field .el-input__wrapper {
    border-radius: 8px !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

#account-details > .fa-ms-labeled-field + .fa-ms-labeled-field {
    margin-top: 10px;
}

.fa-ms-profile-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fa-ms-profile-field {
    margin-bottom: 0;
}

.fa-ms-avatar-control {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--fct-customer-dashboard-border-color, rgba(255, 255, 255, 0.14));
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
}

.fa-ms-avatar-preview-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(196, 71, 60, 0.5));
}

.fa-ms-avatar-preview {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.22);
}

.fa-ms-avatar-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.fa-ms-avatar-description {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--fct-customer-dashboard-text-color, rgba(243, 244, 246, 0.75));
}

.fa-ms-avatar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.fa-ms-avatar-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.fa-ms-avatar-help {
    font-size: 12px;
}

.fa-ms-input-wrapper {
    border: 1px solid var(--fct-customer-dashboard-border-color, rgba(255, 255, 255, 0.14));
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.fa-ms-input-wrapper:focus-within {
    border-color: var(--fct-button-primary-color, #c4473c);
    box-shadow: 0 0 0 1px var(--fct-button-primary-color, #c4473c) !important;
    background: rgba(255, 255, 255, 0.05);
}

.fa-ms-profile-section .el-input__inner {
    color: var(--fct-customer-dashboard-title-color, #f3f4f6);
    background: transparent;
}

.fa-ms-profile-section .el-input__inner::placeholder {
    color: var(--fct-customer-dashboard-text-color, rgba(243, 244, 246, 0.65));
}

.fa-ms-password-toggle {
    border: 1px solid var(--fct-customer-dashboard-border-color, rgba(255, 255, 255, 0.14));
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.fa-ms-password-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
}

.fa-ms-password-summary::-webkit-details-marker {
    display: none;
}

.fa-ms-password-summary::after {
    content: "+";
    flex: 0 0 auto;
    font-size: 22px;
    line-height: 1;
    color: var(--fct-customer-dashboard-title-color, #f3f4f6);
}

.fa-ms-password-toggle[open] .fa-ms-password-summary::after {
    content: "-";
}

.fa-ms-password-summary-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fa-ms-password-summary-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--fct-customer-dashboard-title-color, #f3f4f6);
}

.fa-ms-password-summary-description {
    font-size: 13px;
    line-height: 1.5;
    color: var(--fct-customer-dashboard-text-color, rgba(243, 244, 246, 0.75));
}

.fa-ms-password-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px 16px;
}

.fa-ms-profile-help {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--fct-customer-dashboard-text-color, rgba(243, 244, 246, 0.75));
}

.fa-ms-profile-actions {
    display: flex;
    justify-content: flex-end;
}

.fa-ms-profile-status {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.fa-ms-profile-status.is-info {
    color: var(--fct-customer-dashboard-text-color, rgba(243, 244, 246, 0.75));
}

.fa-ms-profile-status.is-success {
    color: #7fe0c8;
}

.fa-ms-profile-status.is-error {
    color: #ff8f84;
}

.fa-ms-profile-section.is-busy {
    opacity: 0.92;
}

@media (max-width: 520px) {
    .fa-ms-avatar-control {
        grid-template-columns: 1fr;
    }
}
