/* ========================================
   CABINET LAYOUT STYLES
   Базовая структура страниц кабинета
   ======================================== */

/* === MAIN CONTAINER === */

.cabinet {
    display: block;
    margin: 52px 0;
}

.cabinet .container {
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: space-between;
}

.cabinet .container .col,
.cabinet .container .col-full {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cabinet .container .col:last-child {
    max-width: 480px;
}

/* === CARDS === */

.cabinet .container .cabinet-form,
.cabinet .container .info-card {
    padding: 32px;
    gap: 24px;
}

.cabinet .container .cabinet-form h3,
.cabinet .container .info-card h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: white;
    max-width: 296px;
}

/* === PROFILE HEADER === */

.profile-header {
    display: flex;
    color: white;
    justify-content: space-between;
}

.profile-header .left {
    display: flex;
    gap: 12px;
}

.profile-header .left .avatar {
    display: block;
    position: relative;
    overflow: hidden;
    width: 52px;
    height: 52px;
    background-color: #1A232B;
    border-radius: 50%;
}

.profile-header .left .avatar img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.profile-header .left .info {
    display: flex;
    flex-direction: column;
}

.profile-header .left .info span:first-child {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
}

.profile-header .left .info span:last-child {
    font-weight: 400;
    text-align: center;
    color: var(--grey-text);
}

/* === FORM MESSAGES === */

.form-message {
    font-size: 14px;
    margin-right: 16px;
}

.form-message.success {
    color: #25E66C;
}

.form-message.error {
    color: #F44747;
}

/* === NO TRANSACTIONS STATE === */

.list .no-transactions {
    background: transparent;
    justify-content: center;
    opacity: 0.6;
}

.list .no-transactions .left {
    justify-content: center;
}

.list .no-transactions .icon {
    display: none;
}

.list .no-filter-results {
    background: transparent;
}
