.client-sidebar,
.client-main {
    min-width: 0;
}

.form-label-app {
    display: block;
    margin-bottom: 7px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}

.form-message {
    min-height: 20px;
    margin-top: 12px;
    font-size: 13px;
}

.form-message-success {
    color: var(--success);
}

.form-message-error {
    color: var(--danger);
}

.auction-summary-card {
    position: sticky;
    top: 94px;
}

.auction-summary-header,
.leaderboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.auction-summary-header h3,
.leaderboard-header h2 {
    margin-bottom: 0;
}

.status-badge {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status-idle {
    background: rgba(148, 163, 184, 0.14);
    color: var(--text-muted);
}

.status-searching {
    background: rgba(37, 99, 235, 0.16);
    color: #60a5fa;
}

.status-bidding {
    background: rgba(250, 204, 21, 0.14);
    color: var(--warning);
}

.status-waiting {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
}

.status-completed {
    background: rgba(34, 197, 94, 0.14);
    color: var(--success);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.14);
    color: var(--danger);
}

.auction-status-text {
    margin-top: 18px;
    color: var(--text-muted);
}

.auction-timer-wrap {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--background);
    text-align: center;
}

.auction-timer-label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.timer {
    min-height: 48px;
    color: var(--warning);
    font-size: 38px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

.timer.timer-ended {
    color: var(--text-muted);
    font-size: 20px;
}

.timer.timer-winner {
    color: var(--success);
    font-size: 20px;
}

.current-route {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.leaderboard-card {
    min-height: 420px;
}

.offers-count {
    flex-shrink: 0;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
}

.leaderboard-list {
    margin-top: 22px;
}

.compact-empty-state {
    padding: 54px 24px;
    box-shadow: none;
}

@media (max-width: 1100px) {
    .auction-summary-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .auction-summary-header,
    .leaderboard-header {
        flex-direction: column;
    }

    .timer {
        font-size: 32px;
    }
}
.choose-offer-button {
    width: 100%;
    margin-top: 16px;
}

.choose-offer-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.choose-offer-selected {
    background: var(--success);
}

.offer-card.winner .choose-offer-selected {
    opacity: 1;
}

.profile-card {
    max-width: 850px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.profile-grid label > span,
.profile-full-field > span {
    display: block;
    margin-bottom: 7px;

    color: var(--text-muted);

    font-size: 13px;
    font-weight: 600;
}

.profile-full-field {
    display: block;
    margin-top: 18px;
}

.profile-account-info {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 18px;

    margin-top: 24px;
    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--background);
}

.profile-account-info span {
    display: block;
    margin-bottom: 5px;

    color: var(--text-muted);

    font-size: 12px;
}

.profile-account-info strong {
    font-size: 14px;
}

.profile-save-button {
    margin-top: 22px;
}

.profile-success {
    margin-bottom: 20px;

    padding: 12px 14px;

    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 12px;

    background: rgba(34, 197, 94, 0.1);
    color: var(--success);

    font-size: 14px;
}

@media (max-width: 640px) {

    .profile-grid,
    .profile-account-info {
        grid-template-columns: 1fr;
    }

}