.btn--seller {
    background: transparent;
    color: rgb(14, 97, 255);
    box-shadow: inset 0 0 0 2px rgb(14, 97, 255);
    white-space: nowrap;
}

.wrapper:has(.seller-cabinet) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.wrapper:has(.seller-cabinet) > .main {
    flex: 1 0 auto;
}
.seller-cabinet {
    margin-bottom: 64px;
}
.seller-cabinet__card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
}
@media (max-width: 767px) {
    .seller-cabinet__card {
        padding: 20px 16px;
    }
}
.seller-cabinet [hidden] {
    display: none !important;
}
.seller-cabinet__muted {
    color: rgb(92, 92, 92);
}
.seller-cabinet__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.seller-cabinet__head .h1 {
    margin: 0;
}
.seller-cabinet__account {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
.seller-cabinet__phone {
    font-weight: 600;
}
.seller-cabinet__link {
    padding: 0;
    border: 0;
    background: none;
    color: #1a6cff;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}
.seller-cabinet__link:hover {
    text-decoration: underline;
}
.seller-cabinet__link--danger {
    color: #d93025;
}
.seller-cabinet__btn-danger,
.seller-cabinet__btn-danger:hover,
.seller-cabinet__btn-danger:focus {
    background: #d93025;
    border-color: #d93025;
    color: #fff;
}
.seller-cabinet__btn-danger:hover {
    background: #b8261c;
    border-color: #b8261c;
}
.seller-cabinet-modal {
    max-width: 400px;
    width: 100%;
}
.seller-cabinet-modal [hidden] {
    display: none !important;
}
.seller-cabinet-modal p {
    margin-bottom: 16px;
}
.seller-cabinet-modal__reasons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.seller-cabinet-modal__radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.seller-cabinet-modal__radio input {
    width: 18px;
    height: 18px;
    margin: 0;
}
.seller-cabinet-modal .form-group input {
    width: 100%;
}
.seller-cabinet-modal__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
}
.seller-cabinet__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.seller-cabinet__empty {
    text-align: center;
}
.seller-cabinet__empty p {
    margin-bottom: 16px;
    font-size: 18px;
}

.seller-ad {
    display: flex;
    gap: 24px;
}
.seller-ad__image {
    flex: 0 0 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f2f4;
}
.seller-ad__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.seller-ad__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.seller-ad__status {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 8px;
    background: #eef3ff;
    color: #1a6cff;
    font-size: 14px;
}
.seller-ad__status--5,
.seller-ad__status--6,
.seller-ad__status--7 {
    background: #f1f2f4;
    color: rgb(92, 92, 92);
}
.seller-ad__status--8 {
    background: #fff4e0;
    color: #b26a00;
}
.seller-ad__title {
    font-size: 18px;
    font-weight: 600;
}
.seller-ad__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: baseline;
}
.seller-ad__price {
    font-size: 18px;
    font-weight: 600;
}
.seller-ad__edit {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #eef3ff;
    color: #1a3d8f;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.seller-ad__edit--revision {
    background: #fff4e0;
    color: #8a5300;
}
.seller-ad__edit--rejected {
    background: #fdecea;
    color: #a12318;
}
.seller-ad__edit--approved {
    background: #e7f6ec;
    color: #1d6b38;
}
.seller-ad__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
}
.seller-ad__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border: 1px solid rgb(14, 97, 255);
    border-radius: 10px;
    background: #fff;
    color: rgb(14, 97, 255);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.seller-ad__btn:hover {
    background: #eef3ff;
    color: rgb(14, 97, 255);
    text-decoration: none;
}
.seller-ad__btn--primary,
.seller-ad__btn--primary:hover {
    background: rgb(14, 97, 255);
    color: #fff;
}
.seller-ad__btn--primary:hover {
    background: rgb(10, 80, 220);
}
.seller-ad__btn--danger {
    margin-left: auto;
    border-color: #d93025;
    color: #d93025;
}
.seller-ad__btn--danger:hover {
    background: #fdecea;
    color: #d93025;
}
@media (max-width: 767px) {
    .seller-ad {
        flex-direction: column;
        gap: 16px;
    }
    .seller-ad__image {
        flex-basis: auto;
        width: 100%;
        height: 200px;
    }
    .seller-ad__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .seller-ad__btn {
        padding: 0 8px;
        font-size: 14px;
        white-space: normal;
        line-height: 1.2;
    }
    .seller-ad__btn--danger {
        margin-left: 0;
    }
}

.seller-auth {
    max-width: 440px;
    width: 100%;
}
.seller-auth p {
    margin-bottom: 16px;
}
.seller-auth .form-group input {
    width: 100%;
}
.seller-auth [hidden] {
    display: none !important;
}
.seller-auth__btn {
    background: rgb(14, 97, 255);
}
.seller-auth__password {
    position: relative;
}
.seller-auth .seller-auth__password input {
    padding-right: 48px;
}
.seller-auth__eye {
    position: absolute;
    right: 4px;
    bottom: 0;
    width: 44px;
    height: 48px;
    border: 0;
    background: transparent;
    color: rgb(92, 92, 92);
    font-size: 18px;
    cursor: pointer;
}
.seller-auth__eye:hover {
    color: rgb(14, 97, 255);
}
.seller-auth__remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 16px;
    font-size: 14px;
    cursor: pointer;
}
.seller-auth__remember input {
    width: 18px;
    height: 18px;
    margin: 0;
}
.seller-auth__error {
    color: rgb(234, 58, 61);
    font-size: 14px;
    margin-bottom: 12px;
}
.seller-auth__error:empty {
    display: none;
}
.seller-auth__links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
}
.seller-auth__links a {
    color: rgb(14, 97, 255);
}
.seller-auth__call-phone {
    display: block;
    margin: 8px 0 16px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(14, 97, 255, 0.08);
    color: rgb(14, 97, 255);
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
}
.seller-auth__timer {
    font-size: 14px;
    color: rgb(92, 92, 92);
}
.seller-auth__waiting::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    border: 2px solid rgb(14, 97, 255);
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -1px;
    animation: seller-auth-spin 0.8s linear infinite;
}
.seller-auth button[disabled] {
    opacity: 0.6;
    cursor: default;
}
@keyframes seller-auth-spin {
    to {
        transform: rotate(360deg);
    }
}
