.profile-page {
    padding: 24px 0 44px;
    display: flex;
    gap: 60px;
    font-family: var(--fotnFamilyRaleway);
    max-height: calc(100dvh - 86px);
}


.profile-sidebar {
    border-radius: 16px;
    overflow: auto;
    flex: 0 0 280px;
    background-color: #F9F9F9;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-image: url(../img/img-26-03-2024/sidebar-profile-bg-image.svg);
    background-position: left center;
    background-size: cover;
}

.profile-sidebar-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    padding-left: 14px;
    padding-right: 14px;
}

.btn-icon {
    display: flex;
    align-items: center;
}

.profile-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-sidebar-list .btn {
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    width: 100%;
    justify-content: start;
    font-weight: 500;
}

.profile-sidebar-list .btn:hover,
.profile-sidebar-list .btn.active {
    background-color: #ffffff;
    box-shadow: 0px 1px 2px 0px rgba(91, 104, 113, 0.32), 0px 0px 1px 0px rgba(26, 32, 36, 0.32);
    opacity: 1;
}

.profile-sidebar-list+.profile-sidebar-list {
    margin-top: auto;
}

.profile-sidebar-list .btn.active span:last-child {
    background: linear-gradient(92.31deg, #8C49F7 0%, #6C53FF 100%);
    background-clip: text;
    color: transparent;
}

.profile-sidebar-list .btn.active .btn-icon {
    color: #8C49F7;
}

h3.title-heading {
    font-size: var(--heading-3);
    line-height: 32px;
}

.profile-page-body {
    flex: auto;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.table-default {
    width: 100%;
    border-collapse: collapse;

}

.table-default th {
    background-color: rgba(249, 249, 249, 1);
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    padding: 6px 6px;
}

.table-default th:first-child {
    border-radius: 8px 0 0 8px;
    padding-left: 14px;
}

.table-default th:last-child {
    border-radius: 0 8px 8px 0;
    padding-right: 14px;
}

.table-default td {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    padding: 7px;
}

.table-default td:first-child {
    padding-left: 14px;
}

.table-default td:last-child {
    padding-right: 14px;
}

.table-default tr:first-child td {
    padding-top: 14px;
}

.table-default td .dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown>.btn {
    border-radius: 5px;
}

.dropdown.dropdown-open .btn,
.dropdown .btn:hover {
    background-color: #F9F9F9;
}

.table-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.table-pagination--shown {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
    color: rgba(104, 103, 109, 1);
}

.table-wrapper {
    overflow: auto;
}

.select {
    background-image: url('data:image/svg+xml,<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.33398 9.16669L11.0007 12.8334L14.6673 9.16669" stroke="%2368676D" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 22px;
    padding-right: 25px;
    font-family: var(--fotnFamilyRaleway);
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    min-height: 22px;
}

.drop-list {
    min-width: 100px;
}

.drop-list li a {
    border-radius: 8px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 14px;
}

.drop-list li a:hover {
    background-color: #FAF8FF;
    color: #7C4DFF;
}

.dot-status {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    background-color: rgba(133, 88, 255, 1);
    border-radius: 50%;
    margin-right: 8px;
}

.dot-status.--warning {
    background-color: rgba(255, 208, 88, 1);
}

.dot-status.--success {
    background-color: rgba(71, 228, 134, 1);
}

.pill-status {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.hr {
    border: 0;
    border-top: 1px solid rgba(238, 238, 238, 1);
}

.form-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
    margin-bottom: 8px;
}

.font-semibold {
    font-weight: 600;
}

.user-avatar-settings {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.user-avatar-settings__preview {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
}

.user-avatar-settings__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.delete-account-block {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.delete-account-block__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    max-width: 240px;
}

.delete-account-block__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 16.44px;
}

.row.gy-22 {
    margin-top: -22px;
}

.row.gy-22>[class^="col-"] {
    margin-top: 22px;
}

.row.g-16 {
    margin-top: -16px;
}

.row.g-16>[class^="col-"] {
    margin-top: 16px;
    padding-left: 8px;
    padding-right: 8px;
}

.card-subscription {
    padding: 24px;
    border: 1px solid rgba(238, 238, 238, 1);
    border-radius: 16px;
}

.card-subscription .card-body {
    gap: 24px;
}

.select--border {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 15px;
    padding-right: 40px;
    border-radius: 10px;
    border: 1px solid rgba(238, 238, 238, 1);
    background-position: right 10px center;
}

.card-subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.card-subscription.active {
    border-color: rgba(140, 73, 247, 1);
}

.table-border tbody tr td {
    border-bottom: 1px solid rgba(238, 238, 238, 1)
}
.table-border tbody tr td {
    padding-top: 14px;
    padding-bottom: 14px;
}
.table-border tbody tr td:first-child {
    padding-left: 0;
}

.table-border tbody tr td:first-child {
    padding-right: 0;
}

.card-subscription-price {
    display: flex;
    align-items: flex-end;
    font-size: 20px;
    font-weight: 700;
    line-height: 23.48px;
}

.template-prevew {
    display: flex;
    align-items: center;
    gap: 14px;
    
}
.justify-end {
    justify-content: flex-end;
}
.template-prevew__img {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(238, 238, 238, 1);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
}

.template-prevew__name {
    font-size: 14px;
    font-weight: 500;
    line-height: 16.44px;
}

.price-period {
    font-size: 14px;
    font-weight: 600;
    line-height: 16.44px;
    color: rgba(51, 51, 51, .4);
}

.card-subscription-desc {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    color: rgba(42, 40, 49, .7);
}

.card-subscription-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 16.44px;
    color: rgba(42, 40, 49, 1);
}

.card-subscription-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-wrap: wrap;
}

.cards-group-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 12px;
}

.select-method-fake-check {
    border-radius: 4px;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(238, 238, 238, 1)
}

.select-method {
    cursor: pointer;
}

.select-method .card-subscription .card-body {
    gap: 18px;
}

.select-method input:checked+.card-subscription .select-method-fake-check {
    background: url('data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 4.875L6.75 13.125L3 9.375" stroke="white" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>'),
        linear-gradient(92.31deg, #8C49F7 0%, #6C53FF 100%);
    background-position: center;
    background-size: 18px;
}

.select-method input:checked+.card-subscription {
    border-color: rgba(140, 73, 247, 1);
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-details__title {
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
}

.card-details__info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 18.78px;
}

.add-new-card {
    width: 100%;
    height: 100%;
    min-height: 138px;
    flex-direction: column;
    gap: 12px;
    border-radius: 16px;
    background-color: rgba(249, 249, 249, 1);
    font-size: 16px;
    font-weight: 600;
    line-height: 18.78px;
    color: rgba(104, 103, 109, 1);
}

.table-filters {
    --gap: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.table-filters>* {
    gap: var(--gap);
}

.table-filters .btn--md {
    min-height: 36px;
    padding: 4px 15px;
    font-size: 14px;
}

.table-filters .search-input .ico {
    margin: 6px;
}

.table-filters .search-input .ico .img {
    width: 22px;
    height: 22px;
}

.table-filters .search-input input {
    padding: 5px 10px;
}

@media (max-width: 1200px) {

    .profile-sidebar {
        display: none;
    }

    .profile-page-body {
        padding: 0;
    }
}