.vw-card {
    background: #ffffff;
    border: 1px solid #dde6ee;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
    margin-bottom: 20px;
}

.vw-availability-card {
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
}

.vw-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.vw-grid-full {
    grid-column: 1 / -1;
}

.vw-form label,
.vw-filter label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.vw-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vw-form p {
    margin: 0;
}

.vw-form h3 {
    margin: 0 0 6px;
}

.vw-form > p {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
}

.vw-form input,
.vw-filter select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 12px;
}

.vw-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.vw-filter-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vw-filter label {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    color: #7a8797;
}

.vw-step-block + .vw-step-block {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eef3f7;
}

.vw-step-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.vw-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f8fafc;
    color: #7a8797;
    border: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
}

.vw-step-title {
    margin: 0 0 2px;
    color: #243247;
    font-size: 21px !important;
    font-weight: 600;
    line-height: 1.35;
}

.vw-step-text {
    margin: 0;
    color: #7a8797;
    font-size: 13px;
    line-height: 1.5;
}

.vw-filter-step {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff1e7;
    color: #E65C00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.vw-availability-card.is-location-pending .vw-filter-controls {
    align-items: center;
    gap: 18px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #E65C00;
    box-shadow: 0 10px 24px rgba(230, 92, 0, 0.22);
}

.vw-availability-card.is-location-pending .vw-filter-controls > * {
    align-self: center;
}

.vw-availability-card.is-location-pending .vw-filter-step {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0;
    background: transparent;
    color: #ffffff;
    box-shadow: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.vw-availability-card.is-location-pending .vw-filter select {
    min-width: 192px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    box-shadow: none;
}

.vw-availability-card.is-location-pending .vw-filter select option {
    color: #314154;
}

.vw-filter select {
    width: auto;
    min-width: 180px;
    min-height: 36px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    color: #516173;
    background: #fbfdff;
    border-color: #d7e0e8;
    box-shadow: none;
}

.vw-location-inline {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 36px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: #3d4c63;
    text-align: right;
}

.vw-filter-note {
    margin-left: auto;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    color: #8a96a5;
    white-space: nowrap;
}

.vw-button,
.vw-slot-free {
    border: 0;
    background: #1d8f5a;
    color: #ffffff;
    border-radius: 999px;
    padding: 9px 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}

.vw-form > .vw-button {
    margin-top: 14px;
}

.vw-button-secondary {
    background: #f8fbff;
    border: 1px solid #d7e0e8;
    color: #425266;
    text-decoration: none;
}

.vw-form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.vw-form-header h3 {
    margin: 0 0 4px;
}

.vw-form-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
}

.vw-form-header-simple {
    margin-bottom: 14px;
}

.vw-field-help {
    display: block;
    margin-top: 4px;
    color: #8a96a5;
    font-size: 12px;
}

.vw-notice {
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.vw-notice-success {
    background: #e9f8ef;
    color: #14532d;
}

.vw-notice-error {
    background: #fef2f2;
    color: #991b1b;
}

.vw-booking-summary h3 {
    margin: 0 0 14px;
    color: #314154;
}

.vw-booking-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.vw-booking-summary-grid p {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #dde6ee;
    border-radius: 14px;
    background: #fbfdff;
}

.vw-booking-summary-grid strong {
    display: block;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.vw-booking-summary-grid span {
    color: #314154;
    font-weight: 600;
}

.vw-booking-summary-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #eef8f2;
    border: 1px solid #d7ebdf;
    color: #244b39;
}

.vw-booking-summary-note strong {
    display: block;
    margin-bottom: 8px;
}

.vw-account-history {
    margin-top: 18px;
}

.vw-account-history-list {
    display: grid;
    gap: 10px;
}

.vw-account-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #dde6ee;
    border-radius: 14px;
    background: #fbfdff;
}

.vw-account-history-main h4 {
    margin: 0 0 4px;
    color: #314154;
    font-size: 17px;
}

.vw-account-history-main p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
}

.vw-account-history-empty {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.vw-history-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.vw-history-status-active {
    background: #e9f8ef;
    color: #14532d;
}

.vw-history-status-past {
    background: #eef2f6;
    color: #516173;
}

.vw-history-status-cancelled {
    background: #fef2f2;
    color: #991b1b;
}

.vw-booking-summary-note p {
    margin: 0;
    line-height: 1.6;
}

.vw-calendar-wrap {
    overflow-x: auto;
}

.vw-month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vw-calendar-nav {
    margin: 0 0 16px;
}

.vw-month-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d5dde7;
    border-radius: 999px;
    text-decoration: none;
    color: #425266;
    background: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 600;
}

.vw-month-link:hover,
.vw-month-link:focus {
    background: #f8fafc;
    color: #223042;
}

.vw-month-title {
    font-size: 18px;
    font-weight: 600;
    color: #314154;
}

.vw-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.vw-legend-bottom {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.vw-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    line-height: 1;
}

.vw-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 auto;
}

.vw-dot-free {
    background: #32b86b;
}

.vw-dot-booked {
    background: #e96a6a;
}

.vw-dot-blocked {
    background: #a8b0bb;
}

.vw-calendar {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.vw-calendar th,
.vw-calendar td {
    border: 1px solid #e2e8f0;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}

.vw-calendar thead th {
    background: #eff6ff;
}

.vw-location-block + .vw-location-block {
    margin-top: 30px;
}

.vw-location-block {
    margin-top: 16px;
}

.vw-trailer-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.vw-trailer-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid #dbe4ec;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.vw-trailer-card h4 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.15;
    color: #243247;
}

.vw-month-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 8px;
}

.vw-day-card {
    min-height: 102px;
    border-radius: 14px;
    border: 1px solid #dde6ee;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.vw-day-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}

.vw-day-card[data-day-card] {
    cursor: pointer;
}

.vw-day-card.is-selected {
    border-color: #2a7a57;
    box-shadow: 0 0 0 3px rgba(42, 122, 87, 0.18);
    background: #eef8f2;
}

.vw-day-card.is-selected .vw-day-state,
.vw-day-card.is-selected .vw-day-number,
.vw-day-card.is-selected .vw-day-weekday {
    color: #174f38;
}

.vw-day-free {
    background: #eefaf2;
}

.vw-day-booked {
    background: #fff0f0;
}

.vw-day-own-booking {
    background: #f1f7ff;
}

.vw-day-blocked {
    background: #f8f9fb;
}

.vw-day-number {
    font-size: 16px;
    font-weight: 500;
    color: #334155;
    line-height: 1;
}

.vw-day-weekday {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9aa7b8;
}

.vw-day-month {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(232, 239, 246, 0.88);
    color: #6a7788;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vw-day-state {
    font-size: 11px;
    font-weight: 600;
    color: #5d6a7a;
    line-height: 1.3;
    word-break: break-word;
}

.vw-day-availability-count {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    color: #2a7a57;
}

.vw-duration-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #7b8797;
    margin-bottom: 4px;
}

.vw-duration-select {
    width: 100%;
    min-height: 38px;
    border: 1px solid #d5dde7;
    border-radius: 10px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.92);
    margin-bottom: 8px;
    font-size: 12px;
    color: #314154;
}

.vw-day-button {
    width: auto;
    align-self: flex-start;
    border: 1px solid rgba(42, 122, 87, 0.18);
    background: rgba(255, 255, 255, 0.78);
    color: #2f5b46;
    border-radius: 999px;
    min-height: 24px;
    padding: 0 9px;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: none;
}

.vw-day-button:hover,
.vw-day-button:focus {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(42, 122, 87, 0.28);
    color: #244b39;
}

.vw-day-select {
    pointer-events: none;
}

.vw-selection-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    border-top: 1px solid #e2e8f0;
    padding-top: 18px;
    padding: 18px 16px 0;
}

.vw-selection-panel-guest {
    background: #fbfdff;
    border-radius: 16px;
}

.vw-selection-label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2a7a57;
}

.vw-selection-summary {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #334155;
}

.vw-selection-submit {
    border: 0;
    background: #1d8f5a;
    color: #ffffff;
    border-radius: 999px;
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(29, 143, 90, 0.18);
}

.vw-selection-cancel {
    border: 1px solid #e7c8cc;
    background: #fff7f7;
    color: #9f2d36;
    border-radius: 999px;
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.vw-booking-manage-panel {
    background: #fbfdff;
    border-radius: 16px;
}

.vw-booking-manage-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vw-duration-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vw-duration-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #dde6ee;
    border-radius: 999px;
    background: #ffffff;
    color: #425266;
}

.vw-selection-submit:hover,
.vw-selection-submit:focus {
    background: #18774b;
}

.vw-selection-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.vw-slot {
    display: inline-block;
    min-width: 64px;
    font-size: 14px;
}

.vw-slot-busy {
    background: #fee2e2;
    color: #991b1b;
    border-radius: 999px;
    padding: 10px 12px;
    font-weight: 700;
}

.vw-slot-blocked {
    background: #e5e7eb;
    color: #374151;
    border-radius: 999px;
    padding: 10px 12px;
    font-weight: 700;
}

.vw-claim-form {
    margin: 0;
}

.vw-help {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.vw-help-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vw-login-block {
    margin-top: 16px;
}

.vw-auth-grid {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
}

.vw-auth-separator {
    align-self: start;
    color: #8a96a5;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    margin-top: 16px;
}

.vw-auth-accordion {
    border: 1px solid #dde6ee;
    border-radius: 999px;
    background: #fbfdff;
    overflow: hidden;
}

.vw-auth-accordion[open] {
    border-radius: 20px;
}

.vw-auth-accordion summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    list-style: none;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 600;
    color: #314154;
}

.vw-auth-accordion summary::-webkit-details-marker {
    display: none;
}

.vw-auth-accordion[open] summary {
    border-bottom: 1px solid #e2e8f0;
}

.vw-auth-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 20px;
}

.vw-auth-card .vw-button {
    margin-top: 12px;
}

.vw-auth-card-register h5 {
    margin: 0 0 6px;
    color: #314154;
    font-size: 16px;
    font-weight: 600;
}

.vw-auth-card-register .vw-form-header-simple {
    margin-bottom: 14px;
}

@media (max-width: 767px) {
    .vw-grid {
        grid-template-columns: 1fr;
    }

    .vw-booking-summary-grid {
        grid-template-columns: 1fr;
    }

    .vw-auth-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vw-auth-separator {
        justify-self: center;
        margin-top: 0;
    }

    .vw-form-header {
        align-items: stretch;
        flex-direction: column;
    }

    .vw-filter {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .vw-filter-controls {
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }

    .vw-filter select {
        width: 100%;
        min-width: 0;
    }

    .vw-location-inline {
        min-height: auto;
        justify-content: flex-start;
        text-align: left;
        width: 100%;
    }

    .vw-filter-note {
        margin-left: 0;
        white-space: normal;
        width: 100%;
    }

    .vw-month-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .vw-month-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vw-selection-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

.vw-location-prompt {
    margin: 0 0 16px;
    color: #31506e;
    font-size: 14px;
    font-weight: 600;
}

.vw-availability-card.is-location-pending .vw-location-block,
.vw-availability-card.is-location-pending .vw-step-period,
.vw-availability-card.is-location-pending .vw-legend-bottom,
.vw-availability-card.is-location-pending .vw-login-block,
.vw-availability-card.is-location-pending .vw-help-actions {
    opacity: 0.5;
    filter: blur(0.6px);
    pointer-events: none;
    user-select: none;
}

.vw-location-inline {
    padding: 0 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #E65C00;
    border: 1px solid #E65C00;
    font-weight: 700;
}

.vw-filter:not(.is-location-pending) .vw-filter-step {
    background: #fff1e7;
    color: #E65C00;
}

.vw-filter:not(.is-location-pending) .vw-filter select {
    border-color: #f0d2b2;
    background: #ffffff;
}


.vw-filter.is-location-selected .vw-filter-controls,
.vw-filter.is-location-selected .vw-location-inline {
    min-height: 52px;
    border-radius: 999px;
    border: 1px solid #E65C00;
    background: #fffaf5;
}

.vw-filter.is-location-selected .vw-filter-controls {
    align-items: center;
    gap: 18px;
    padding: 8px 18px;
}

.vw-filter.is-location-selected .vw-filter-controls > * {
    align-self: center;
}

.vw-filter.is-location-selected .vw-location-inline {
    padding: 0 18px;
}

.vw-filter.is-location-selected .vw-filter-step {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    background: transparent;
    color: #E65C00;
    padding: 0;
    line-height: 1;
}

.vw-filter.is-location-selected .vw-filter select {
    min-width: 168px;
    border: 0;
    background: transparent;
    color: #E65C00;
    box-shadow: none;
    padding: 0 8px;
}
