/* Эвакуатор */

.evac-page {
    margin-bottom: 16px;
}

.evac-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 0 14px;
}

.evac-stat {
    padding: 8px 10px;
    border: 1px solid #3d4558;
    background: linear-gradient(180deg, #1a1f2a 0%, #12151c 100%);
}

.evac-stat__label {
    display: block;
    margin: 0 0 4px;
    font-size: 11px;
    color: #9aa3b5;
    line-height: 1.2;
}

.evac-stat__value {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: #fcd330;
    line-height: 1.25;
}

.evac-stat__hint {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #7f8798;
    font-weight: normal;
}

.evac-stat--wide {
    grid-column: 1 / -1;
}

.evac-finance {
    margin-bottom: 14px;
    font-size: 11px;
}

.evac-finance .evac-card__title {
    font-size: 12px;
    margin-bottom: 6px;
}

.evac-finance .evac-money__icon {
    width: 11px;
    height: 11px;
}

.evac-finance__totals {
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #4a5160;
}

.evac-finance__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin: 0 0 3px;
    font-size: 11px;
    line-height: 1.3;
}

.evac-finance__row--net {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed #4a5160;
    font-weight: bold;
    font-size: 12px;
}

.evac-finance__label {
    color: #9aa3b5;
}

.evac-finance__sum {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-weight: bold;
    white-space: nowrap;
}

.evac-finance__sum--plus {
    color: #5ec85e;
}

.evac-finance__sum--minus {
    color: #ef5b5b;
}

.evac-finance__details {
    margin: 0;
    padding: 0;
    list-style: none;
}

.evac-finance__details li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin: 0 0 3px;
    font-size: 10px;
    color: #8a92a3;
    line-height: 1.3;
}

.evac-finance__details li span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    font-weight: bold;
}

.evac-finance__details li em {
    font-style: normal;
    font-weight: normal;
    color: #7f8798;
}

.evac-money {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    vertical-align: middle;
}

.evac-money__icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.evac-card {
    margin: 0 0 14px;
    padding: 10px;
    border: 1px solid #3d4558;
    background: #3e3e3e;
}

.evac-card__title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: bold;
    color: #fcd330;
}

.evac-card__sub {
    margin: 0 0 8px;
    font-size: 12px;
    color: #c5cad6;
    line-height: 140%;
}

.evac-victim {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.evac-victim__info {
    flex: 1;
    min-width: 140px;
}

.evac-victim__name {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}

.evac-victim__class {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 8px;
    font-size: 13px;
}

.evac-victim__class img {
    max-height: 18px;
    width: auto;
}

.evac-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 10px;
    padding: 8px 0;
    border-top: 1px solid #2f3645;
    border-bottom: 1px solid #2f3645;
    font-size: 12px;
    color: #c5cad6;
}

.evac-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.evac-meta-item strong {
    color: #fcd330;
}

.evac-scene {
    margin-top: 10px;
}

.evac-scene__badge {
    display: inline-block;
    margin: 0 0 6px;
    padding: 2px 8px;
    font-size: 11px;
    color: #12151c;
    background: #fcd330;
    font-weight: bold;
}

.evac-scene__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}

.evac-scene__text {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 145%;
    color: #c5cad6;
}

.evac-result {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-left: 3px solid #fcd330;
    background: rgba(252, 211, 48, 0.08);
    font-size: 13px;
    line-height: 140%;
    color: #e6e8ee;
}

.evac-choices {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 12px;
}

.evac-choice {
    display: block;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #3d4558;
    background: #151922;
    cursor: pointer;
}

.evac-choice:has(input:checked) {
    border-color: #fcd330;
    background: rgba(252, 211, 48, 0.1);
}

.evac-choice input {
    margin-right: 8px;
    vertical-align: middle;
}

.evac-choice__label {
    color: #e6e8ee;
    font-size: 13px;
}

.evac-choice__hint {
    display: block;
    margin: 4px 0 0 22px;
    font-size: 11px;
    color: #8b93a5;
}

.evac-cooldown {
    margin: 0 0 10px;
    padding: 8px 10px;
    text-align: center;
    border: 1px dashed #4a5366;
    color: #c5cad6;
    font-size: 13px;
}

.evac-cooldown strong {
    color: #fcd330;
}

.evac-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.evac-rental-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.evac-timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid #3d4558;
    background: #0e1116;
    font-size: 13px;
}

.evac-timer strong {
    color: #fcd330;
    font-variant-numeric: tabular-nums;
}

.evac-wear {
    font-size: 12px;
    color: #9aa3b5;
}

/* Карусель */

.evac-carousel {
    position: relative;
    margin: 10px 0 12px;
    user-select: none;
}

.evac-carousel__viewport {
    position: relative;
    overflow: hidden;
    background: #3e3e3e;
}

.evac-carousel__track {
    display: flex;
    transition: transform 0.28s ease;
    will-change: transform;
}

.evac-carousel__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
}

.evac-carousel__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 110px;
    padding: 16px 44px;
    box-sizing: border-box;
    line-height: 0;
    overflow: hidden;
    background: #3e3e3e;
}

.evac-carousel__img {
    display: block;
    height: 72px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    vertical-align: middle;
}

.evac-carousel__lock {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
    z-index: 2;
    background: rgba(10, 12, 16, 0.35);
}

.evac-carousel__lock-icon {
    width: 42px;
    height: 42px;
    color: #fcd330;
    opacity: 0.95;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75));
}

.evac-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 34px;
    height: 44px;
    padding: 0;
    border: 1px solid #3d4558;
    background: rgba(18, 21, 28, 0.9);
    color: #fcd330;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.evac-carousel__nav:hover {
    background: rgba(40, 46, 60, 0.95);
}

.evac-carousel__nav--prev {
    left: 6px;
}

.evac-carousel__nav--next {
    right: 6px;
}

.evac-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 0;
}

.evac-carousel__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 1px solid #6a7388;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.evac-carousel__dot.is-active {
    background: #fcd330;
    border-color: #fcd330;
}

.evac-carousel__meta {
    margin: 12px 0 0;
    text-align: center;
}

.evac-carousel__name {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: bold;
    color: #fcd330;
}

.evac-carousel__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin: 0;
    font-size: 12px;
    line-height: 140%;
    color: #c5cad6;
}

.evac-carousel__locked-hint {
    margin: 8px 0 0;
    font-size: 12px;
    color: #ff8a8a;
}

.evac-carousel__hours-row {
    border-top: 1px solid #636363;
    border-bottom: 1px solid #636363;
    padding: 7px 0;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.evac-rent-btn[disabled],
.evac-rent-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.evac-rental-preview {
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    background: #3e3e3e;
    line-height: 0;
    overflow: hidden;
}

.evac-rental-preview img {
    display: block;
    height: 72px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.evac-hint {
    margin: 0 0 10px;
    font-size: 12px;
    color: #9aa3b5;
    line-height: 140%;
}

.evac-limit-warn {
    margin: 8px 0;
    color: #ff6b6b;
    font-size: 13px;
}
