.profile-form-page {
    background: #f8fbff;
}

/* Keep the breadcrumb text and Font Awesome chevron on one visual baseline. */
.common-hero .main-heading .pages-intro {
    display: flex;
    align-items: center;
    gap: 8px;
}

.common-hero .main-heading .pages-intro a,
.common-hero .main-heading .pages-intro p {
    margin: 0;
    line-height: 28px;
}

.common-hero .main-heading .pages-intro span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.common-hero .main-heading .pages-intro span i,
.common-hero .main-heading .pages-intro span svg {
    display: block;
}

/* Remove list markers and center both font and SVG social icons. */
.footer1 .single-footer-items .social-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.footer1 .single-footer-items .social-icon li {
    display: block;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer1 .single-footer-items .social-icon li::marker {
    content: "";
}

.footer1 .single-footer-items .social-icon li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1;
}

.footer1 .single-footer-items .social-icon li a i,
.footer1 .single-footer-items .social-icon li a svg {
    display: block;
    width: 16px;
    height: 16px;
    line-height: 1;
}

.profile-form-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 42px;
    text-align: left;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.profile-form-heading {
    padding-bottom: 22px;
    margin-bottom: 28px;
    border-bottom: 1px solid #edf1f6;
}

.profile-form-heading h2 {
    margin-bottom: 8px;
    color: #111827;
    font-size: 32px;
    line-height: 1.25;
}

.profile-form-heading p {
    margin: 0;
    color: #667085;
}

.profile-form .form-row {
    margin-bottom: 22px;
}

.profile-form label,
.profile-form legend {
    display: block;
    margin-bottom: 8px;
    color: #344054;
    font-size: 15px;
    font-weight: 600;
}

.profile-form .required {
    color: #c93036;
}

.profile-form .form-control,
.profile-form .form-select {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    color: #111827;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    box-shadow: none;
}

.profile-form textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.profile-form select[multiple] {
    min-height: 150px;
}

.profile-form .multi-select-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.profile-form .multi-select {
    position: relative;
}

.profile-form .multi-select-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 56px;
    padding: 8px 48px 8px 18px;
    color: #667085;
    text-align: left;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    cursor: pointer;
}

.profile-form .multi-select-values {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.profile-form .multi-select-values.is-placeholder {
    font-size: 17px;
}

.profile-form .multi-select-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    padding: 5px 10px;
    color: #344054;
    font-size: 14px;
    line-height: 1.25;
    background: #eef3ff;
    border-radius: 999px;
}

.profile-form .multi-select-remove {
    color: #667085;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.profile-form .multi-select-arrow {
    position: absolute;
    top: 50%;
    right: 22px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #667085;
    border-bottom: 2px solid #667085;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}

.profile-form .multi-select.is-open .multi-select-trigger {
    border-color: #9db7f5;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 0 0 3px rgba(95, 139, 238, 0.13);
}

.profile-form .multi-select.is-open .multi-select-arrow {
    transform: translateY(-20%) rotate(225deg);
}

.profile-form .multi-select-dropdown {
    position: absolute;
    z-index: 50;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 10px 7px 7px;
    background: #fff;
    border: 1px solid #d0d5dd;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.profile-form .multi-select.is-open .multi-select-dropdown {
    display: block;
}

.profile-form .multi-select-search-wrap {
    padding: 0 3px 8px;
}

.profile-form .multi-select-search {
    width: 100%;
    height: 40px;
    padding: 7px 11px;
    color: #344054;
    background: #fff;
    border: 1px solid #b8c8ee;
    border-radius: 5px;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(95, 139, 238, 0.12);
}

.profile-form .multi-select-options {
    max-height: 250px;
    overflow-y: auto;
}

.profile-form .multi-select-option {
    display: block;
    width: 100%;
    padding: 10px 13px;
    color: #666;
    font-size: 17px;
    line-height: 1.35;
    text-align: left;
    background: #fff;
    border: 0;
    cursor: pointer;
}

.profile-form .multi-select-option:hover,
.profile-form .multi-select-option:focus,
.profile-form .multi-select-option.is-selected {
    color: #fff;
    background: #7195ec;
    outline: 0;
}

.profile-form .multi-select-empty {
    padding: 14px;
    color: #667085;
    text-align: center;
}

.profile-form .multi-select-native.is-invalid + .multi-select .multi-select-trigger {
    border-color: #c93036;
}

.profile-form .form-control:focus,
.profile-form .form-select:focus {
    border-color: #c93036;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(201, 48, 54, 0.13);
}

.profile-form .form-control.is-invalid,
.profile-form .form-select.is-invalid {
    border-color: #c93036;
}
/* Bootstrap adds a validation icon to invalid selects. The base form-select
   background shorthand above resets its repeat behavior, so explicitly keep
   both the dropdown arrow and validation icon to one instance. */
.profile-form .form-select {
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
}

.profile-form .form-select.is-invalid {
    padding-right: 64px;
    background-repeat: no-repeat, no-repeat !important;
    background-position: right 16px center, right 40px center !important;
    background-size: 16px 12px, 16px 16px !important;
}

.profile-form .ss-main {
    width: 100% !important;
    min-height: 52px !important;
    height: auto !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.profile-form .ss-main .ss-multi-selected {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-height: 50px;
    padding: 7px 42px 7px 16px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: inherit !important;
}

.profile-form .ss-main .ss-values {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.profile-form .ss-main .ss-disabled {
    color: #667085 !important;
    font-size: 16px;
}

.profile-form .ss-main .ss-value {
    padding: 5px 9px !important;
    color: #344054 !important;
    font-size: 13px !important;
    line-height: 18px !important;
    background: #eef3ff !important;
    border-radius: 999px !important;
}

.profile-form .ss-multi-selected.ss-open-below,
.profile-form .ss-multi-selected.ss-open-above {
    border-color: #c93036 !important;
    border-radius: 10px 10px 0 0 !important;
    box-shadow: 0 0 0 3px rgba(201, 48, 54, 0.13) !important;
}

.profile-form .ss-content {
    top: 100% !important;
    bottom: auto !important;
    height: auto !important;
    margin: -1px 0 0 !important;
    transform-origin: center top !important;
    z-index: 100;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d0d5dd !important;
    border-radius: 0 0 10px 10px !important;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14) !important;
}


.profile-form .ss-content .ss-search {
    padding: 10px !important;
}

.profile-form .ss-content .ss-search input {
    width: 100%;
    height: 42px !important;
    padding: 8px 12px !important;
    border: 1px solid #b8c8ee !important;
    border-radius: 6px !important;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(95, 139, 238, 0.1) !important;
}

.profile-form .ss-content .ss-list {
    max-height: 250px;
    overflow-y: auto;
}

.profile-form .ss-content .ss-option {
    padding: 10px 14px !important;
    color: #667085 !important;
    font-size: 16px !important;
}

.profile-form .ss-content .ss-option:hover,
.profile-form .ss-content .ss-option.ss-highlighted,
.profile-form .ss-content .ss-option.ss-selected {
    color: #fff !important;
    background: #7195ec !important;
}

.profile-form .form-select.is-invalid + .ss-main {
    border-color: #c93036 !important;
}

.profile-form .field-error {
    display: block;
    min-height: 20px;
    margin-top: 6px;
    color: #c93036;
    font-size: 13px;
}

.profile-form .choice-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 0 20px;
    color: #98a2b3;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.profile-form .choice-divider::before,
.profile-form .choice-divider::after {
    flex: 1;
    height: 1px;
    content: "";
    background: #e4e7ec;
}

.profile-form .file-field {
    padding: 18px;
    background: #f8fafc;
    border: 1px dashed #b8c4d4;
    border-radius: 10px;
}

.profile-form input[type="file"] {
    width: 100%;
}

.profile-form input[type="file"]::file-selector-button {
    padding: 9px 16px;
    margin-right: 12px;
    color: #fff;
    font-weight: 700;
    background: #c93036;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.profile-form .field-help {
    display: block;
    margin-top: 8px;
    color: #667085;
    font-size: 13px;
}

.profile-form .form-actions {
    margin-top: 30px;
}

.profile-form .submit-button {
    min-width: 170px;
    padding: 13px 28px;
    color: #fff;
    font-weight: 700;
    background: #c93036;
    border: 0;
    border-radius: 999px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.profile-form .submit-button:hover {
    color: #fff;
    background: #ad252b;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .profile-form-card {
        padding: 26px 18px;
        border-radius: 12px;
    }

    .profile-form-heading h2 {
        font-size: 27px;
    }

    .profile-form .submit-button {
        width: 100%;
    }
}
