.rc-profile-section {
    position: relative;
    overflow: hidden;
    min-height: 65vh;
    padding: 70px 0 90px;
    background:
        radial-gradient(circle at 5% 15%,
            rgba(255, 92, 69, .06),
            transparent 28%),
        #f6f8fb;
}

.rc-profile-section::before,
.rc-profile-section::after {
    position: absolute;
    content: '';
    border-radius: 50%;
    pointer-events: none;
}

.rc-profile-section::before {
    top: 100px;
    right: -100px;
    width: 240px;
    height: 240px;
    border: 35px solid rgba(255, 92, 69, .025);
}

.rc-profile-section::after {
    bottom: -120px;
    left: -120px;
    width: 300px;
    height: 300px;
    background: rgba(255, 92, 69, .025);
}

.rc-profile-section .container {
    position: relative;
    z-index: 1;
}

.rc-profile-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.rc-profile-head span,
.rc-card-heading span {
    color: #ff5c45;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rc-profile-head h1 {
    margin: 6px 0;
    color: #13243d;
    font-size: 34px;
    font-weight: 800;
}

.rc-profile-head p,
.rc-card-heading p {
    margin: 0;
    color: #778397;
}

.rc-profile-head>a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 9px;
    background: #ff5c45;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 92, 69, .18);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .25s ease;
}

.rc-profile-head>a:hover {
    color: #fff;
    background: #ec4934;
    box-shadow: 0 12px 25px rgba(255, 92, 69, .28);
    transform: translateY(-2px);
}

.rc-profile-card {
    height: 100%;
    padding: 28px;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(30, 48, 76, .08);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.rc-profile-card:hover {
    border-color: rgba(255, 92, 69, .18);
    box-shadow: 0 18px 42px rgba(30, 48, 76, .12);
    transform: translateY(-3px);
}

.rc-profile-image-card {
    text-align: center;
}

.rc-profile-avatar-wrap {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
}

.rc-profile-avatar-wrap::before {
    position: absolute;
    inset: -7px;
    content: '';
    border: 2px dashed rgba(255, 92, 69, .35);
    border-radius: 50%;
    animation: rcRotateAvatarBorder 16s linear infinite;
}

.rc-profile-avatar {
    position: relative;
    z-index: 1;
    width: 130px;
    height: 130px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #f1f3f6;
    object-fit: cover;
    box-shadow: 0 10px 28px rgba(24, 42, 67, .18);
    transition: transform .3s ease;
}

.rc-profile-avatar-wrap:hover .rc-profile-avatar {
    transform: scale(1.035);
}

.rc-avatar-edit {
    position: absolute;
    right: 4px;
    bottom: 6px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #ff5c45;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 92, 69, .3);
    transition:
        transform .25s ease,
        background-color .25s ease;
}

.rc-avatar-edit:hover {
    color: #fff;
    background: #e84833;
    transform: scale(1.1) rotate(-6deg);
}

.rc-image-selection {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    gap: 8px;
    margin: -5px auto 15px;
    padding: 7px 9px 7px 11px;
    border: 1px solid #ffd6cf;
    border-radius: 20px;
    background: #fff5f3;
    color: #d84e39;
    font-size: 10px;
}

.rc-image-selection span {
    max-width: 180px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rc-image-selection button {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ff5c45;
    color: #fff;
    font-size: 9px;
    cursor: pointer;
}

.rc-profile-image-card h3 {
    margin: 0 0 5px;
    color: #172840;
    font-size: 21px;
    font-weight: 800;
}

.rc-profile-image-card>p {
    margin: 0 0 12px;
    color: #7d8999;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.rc-account-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 20px;
    background: #fff1ee;
    color: #ff5c45;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.rc-profile-info-list {
    margin-top: 28px;
    border-top: 1px solid #edf0f4;
}

.rc-profile-info-list>div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #edf0f4;
    text-align: left;
    transition:
        padding-left .2s ease,
        background-color .2s ease;
}

.rc-profile-info-list>div:hover {
    padding-left: 5px;
    background: linear-gradient(90deg,
            rgba(255, 92, 69, .035),
            transparent);
}

.rc-profile-info-list i {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 10px;
    background: #fff3f0;
    color: #ff5c45;
}

.rc-profile-info-list small,
.rc-profile-info-list strong {
    display: block;
}

.rc-profile-info-list small {
    color: #8a96a8;
    font-size: 11px;
}

.rc-profile-info-list strong {
    margin-top: 2px;
    color: #26364e;
    font-size: 13px;
    word-break: break-word;
}

.rc-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf0f4;
}

.rc-card-heading h2 {
    margin: 5px 0;
    color: #172840;
    font-size: 24px;
    font-weight: 800;
}

.rc-card-heading>i {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 13px;
    background: #fff1ee;
    color: #ff5c45;
    font-size: 18px;
    animation: rcHeadingIconFloat 3s ease-in-out infinite;
}

.rc-form-group label {
    display: block;
    margin-bottom: 9px;
    color: #26364e;
    font-size: 13px;
    font-weight: 700;
}

.rc-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.rc-label-row small {
    margin-bottom: 9px;
    color: #9aa4b2;
    font-size: 10px;
}

.rc-form-group label span {
    color: #ff5c45;
}

.rc-input-wrap {
    position: relative;
}

.rc-input-wrap>i {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    color: #9aa4b2;
    font-size: 13px;
    transform: translateY(-50%);
    transition: color .2s ease;
}

.rc-input-wrap input,
.rc-input-wrap textarea {
    width: 100%;
    border: 1px solid #dfe4eb;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #26364e;
    font-size: 13px;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.rc-input-wrap input {
    height: 48px;
    padding: 0 15px 0 43px;
}

.rc-input-wrap textarea {
    min-height: 115px;
    padding: 14px 15px 14px 43px;
    resize: vertical;
}

.rc-textarea-wrap>i {
    top: 18px;
    transform: none;
}

.rc-input-wrap:focus-within>i {
    color: #ff5c45;
}

.rc-input-wrap input:focus,
.rc-input-wrap textarea:focus {
    border-color: #ff8c7b;
    box-shadow: 0 0 0 3px rgba(255, 92, 69, .1);
}

.rc-input-wrap input.rc-invalid,
.rc-input-wrap textarea.rc-invalid {
    border-color: #dc3545;
    background: #fffafa;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .08);
}

.rc-input-wrap input.rc-valid,
.rc-input-wrap textarea.rc-valid {
    border-color: #41a46f;
    background: #fbfffd;
}

.rc-disabled-input input {
    background: #f4f6f9;
    color: #8a96a8;
    cursor: not-allowed;
}

.rc-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #edf0f4;
}

.rc-cancel-btn,
.rc-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background-color .22s ease;
}

.rc-cancel-btn {
    border: 1px solid #dfe4eb;
    background: #fff;
    color: #526075;
}

.rc-cancel-btn:hover {
    color: #26364e;
    background: #f7f9fb;
    transform: translateY(-1px);
}

.rc-submit-btn {
    min-width: 148px;
    border: 1px solid #ff5c45;
    background: #ff5c45;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(255, 92, 69, .16);
}

.rc-submit-btn:hover {
    color: #fff;
    background: #ed4933;
    box-shadow: 0 11px 22px rgba(255, 92, 69, .25);
    transform: translateY(-2px);
}

.rc-submit-btn:disabled {
    cursor: not-allowed;
    opacity: .75;
    transform: none;
}

.rc-submit-loading {
    display: none;
}

.rc-submit-btn.is-loading .rc-submit-content {
    display: none;
}

.rc-submit-btn.is-loading .rc-submit-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rc-alert {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    padding: 14px 45px 14px 16px;
    border-radius: 10px;
    font-size: 13px;
    animation: rcAlertSlide .4s ease both;
}

.rc-alert-success {
    border: 1px solid #bfe7cf;
    background: #edfff4;
    color: #167545;
}

.rc-alert-danger {
    border: 1px solid #ffc7c7;
    background: #fff2f2;
    color: #c53f3f;
}

.rc-alert strong {
    display: block;
    margin-bottom: 4px;
}

.rc-alert p {
    margin: 0 0 4px;
}

.rc-alert p:last-child {
    margin-bottom: 0;
}

.rc-alert-close {
    position: absolute;
    top: 50%;
    right: 12px;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: currentColor;
    transform: translateY(-50%);
    cursor: pointer;
}

.rc-alert-close:hover {
    background: rgba(0, 0, 0, .05);
}

.rc-error,
.rc-client-error {
    display: block;
    min-height: 16px;
    margin-top: 6px;
    color: #dc3545;
    font-size: 11px;
}

.rc-client-error:empty {
    min-height: 0;
    margin-top: 0;
}

.rc-form-shake {
    animation: rcFormShake .38s ease;
}

.rc-animate-fade-down {
    animation: rcFadeDown .55s ease both;
}

.rc-animate-left {
    animation: rcFadeLeft .65s .08s ease both;
}

.rc-animate-right {
    animation: rcFadeRight .65s .14s ease both;
}

@keyframes rcFadeDown {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rcFadeLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rcFadeRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rcAlertSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rcRotateAvatarBorder {
    to {
        transform: rotate(360deg);
    }
}

@keyframes rcHeadingIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes rcFormShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-3px);
    }
}

@media (max-width: 767px) {
    .rc-profile-section {
        padding: 45px 0 65px;
    }

    .rc-profile-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .rc-profile-head h1 {
        font-size: 28px;
    }

    .rc-profile-card {
        padding: 20px;
    }

    .rc-card-heading h2 {
        font-size: 21px;
    }

    .rc-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .rc-cancel-btn,
    .rc-submit-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .rc-animate-fade-down,
    .rc-animate-left,
    .rc-animate-right,
    .rc-alert,
    .rc-profile-avatar-wrap::before,
    .rc-card-heading>i {
        animation: none;
    }

    .rc-profile-card,
    .rc-profile-head>a,
    .rc-submit-btn,
    .rc-cancel-btn,
    .rc-profile-avatar {
        transition: none;
    }
}