/**
 * Rentify Booking - Frontend Styles
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --rentify-primary: #ffd635;
    --rentify-secondary: #c4ff23;
    --rentify-dark: #1a1a1a;
    --rentify-green: #3E8D4E;
    --rentify-green-hover: #357a43;
    --rentify-white: #ffffff;
    --rentify-gray: #f5f5f5;
    --rentify-gray-dark: #e5e5e5;
    --rentify-text: #333333;
    --rentify-text-light: #666666;
    --rentify-text-muted: #767676;
    --rentify-border: #e0e0e0;
    --rentify-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --rentify-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --rentify-radius: 8px;
    --rentify-radius-lg: 12px;
    --rentify-transition: all 0.3s ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
.rentify-wizard-body {
    margin: 0;
    padding: 0;
    background-color: var(--rentify-gray);
    color: var(--rentify-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.rentify-wizard-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.rentify-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.rentify-wizard-header {
    background-color: var(--rentify-dark);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.rentify-wizard-header .rentify-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rentify-logo img {
    height: 40px;
    width: auto;
}

.rentify-header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rentify-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--rentify-transition);
}

.rentify-header-phone:hover {
    color: var(--rentify-primary);
}

.rentify-header-phone svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Progress Steps
   ========================================================================== */
.rentify-wizard-progress {
    background-color: var(--rentify-white);
    padding: 30px 0;
    border-bottom: 1px solid var(--rentify-border);
}

.rentify-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}

.rentify-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.rentify-step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    transition: var(--rentify-transition);
    background-color: var(--rentify-gray);
    color: var(--rentify-text-light);
    border: 2px solid var(--rentify-gray-dark);
}

.rentify-step.active .rentify-step-indicator {
    background-color: var(--rentify-primary);
    color: var(--rentify-dark);
    border-color: var(--rentify-primary);
}

.rentify-step.completed .rentify-step-indicator {
    background-color: var(--rentify-green);
    color: var(--rentify-white);
    border-color: var(--rentify-green);
}

.rentify-step.completed .rentify-step-indicator svg {
    width: 16px;
    height: 16px;
}

.rentify-step-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--rentify-text-light);
}

.rentify-step.active .rentify-step-title,
.rentify-step.completed .rentify-step-title {
    color: var(--rentify-text);
}

.rentify-step-connector {
    width: 60px;
    height: 2px;
    background-color: var(--rentify-gray-dark);
    margin-top: 16px;
}

.rentify-step.completed + .rentify-step-connector {
    background-color: var(--rentify-green);
}

/* ==========================================================================
   Main Content
   ========================================================================== */
.rentify-wizard-main {
    flex: 1;
    padding: 40px 0;
    margin-bottom: 80px;
}

.rentify-wizard-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
}

/* ==========================================================================
   Sidebar Summary
   ========================================================================== */
.rentify-wizard-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.rentify-summary-card {
    background-color: var(--rentify-white);
    border-radius: var(--rentify-radius-lg);
    box-shadow: var(--rentify-shadow);
    overflow: hidden;
}

.rentify-summary-section {
    padding: 20px;
    border-bottom: 1px solid var(--rentify-border);
}

.rentify-summary-section:last-child {
    border-bottom: none;
}

.rentify-summary-section h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--rentify-text);
}

.rentify-summary-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.rentify-summary-row:last-child {
    margin-bottom: 0;
}

.rentify-summary-row .label {
    font-size: 12px;
    color: var(--rentify-text-light);
    margin-bottom: 4px;
}

.rentify-summary-row .value {
    font-size: 14px;
    color: var(--rentify-text);
    font-weight: 500;
}

.rentify-summary-vehicle {
    text-align: center;
}

.rentify-summary-vehicle .vehicle-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--rentify-radius);
}

.rentify-summary-pricing .rentify-pricing-breakdown {
    margin-bottom: 15px;
}

.rentify-pricing-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--rentify-text);
}

.rentify-pricing-row span:last-child {
    font-weight: 500;
}

.rentify-pricing-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 2px solid var(--rentify-dark);
    font-size: 18px;
    font-weight: 700;
    color: var(--rentify-text);
}

.rentify-pricing-total span:last-child {
    color: var(--rentify-green);
}

/* ==========================================================================
   Step Content
   ========================================================================== */
.rentify-wizard-content {
    background-color: var(--rentify-white);
    border-radius: var(--rentify-radius-lg);
    box-shadow: var(--rentify-shadow);
    padding: 40px;
}

.rentify-step-header {
    margin-bottom: 30px;
}

.rentify-step-header h1 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--rentify-text);
}

.rentify-step-header p {
    margin: 0;
    color: var(--rentify-text-light);
    font-size: 16px;
    padding-bottom: 0;
}

/* ==========================================================================
   Vehicles Grid
   ========================================================================== */
.rentify-vehicles-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.rentify-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rentify-filter-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--rentify-text);
}

.rentify-filter-group select {
    padding: 10px 35px 10px 15px;
    border: 1px solid var(--rentify-border);
    border-radius: var(--rentify-radius);
    font-size: 14px;
    background-color: var(--rentify-white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 180px;
}

.rentify-filter-group select:focus {
    outline: none;
    border-color: var(--rentify-primary);
}

.rentify-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.rentify-vehicle-card {
    background-color: var(--rentify-white);
    border: 1px solid var(--rentify-border);
    border-radius: var(--rentify-radius-lg);
    overflow: hidden;
    transition: var(--rentify-transition);
    cursor: pointer;
}

.rentify-vehicle-card:hover {
    box-shadow: var(--rentify-shadow-lg);
    border-color: var(--rentify-primary);
    transform: translateY(-2px);
}

.rentify-vehicle-card .vehicle-image {
    height: 300px;
    overflow: hidden;
    border-radius: var(--rentify-radius-lg) var(--rentify-radius-lg) 0 0;
    background-color: var(--rentify-gray);
}

.rentify-vehicle-card .vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--rentify-radius-lg) var(--rentify-radius-lg) 0 0;
}

.rentify-vehicle-card .vehicle-content {
    padding: 20px;
}

.rentify-vehicle-card .vehicle-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--rentify-text);
}

.rentify-vehicle-card .vehicle-similar {
    font-size: 14px;
    font-weight: 400;
    color: var(--rentify-text-light);
}

.rentify-vehicle-card .vehicle-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.rentify-vehicle-card .spec {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--rentify-text-light);
    background-color: var(--rentify-gray);
    padding: 5px 10px;
    border-radius: 20px;
}

.rentify-vehicle-card .spec svg {
    width: 14px;
    height: 14px;
}

.rentify-vehicle-card .vehicle-pricing {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
}

.rentify-vehicle-card .price-daily .amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--rentify-text);
}

.rentify-vehicle-card .price-daily .period {
    font-size: 14px;
    color: var(--rentify-text-light);
}

.rentify-vehicle-card .price-total {
    text-align: right;
}

.rentify-vehicle-card .price-total .amount {
    font-size: 16px;
    font-weight: 600;
    color: var(--rentify-text-light);
}

.rentify-vehicle-card .price-total .period {
    font-size: 12px;
    color: var(--rentify-text-muted);
}

/* ==========================================================================
   Insurance Options
   ========================================================================== */
.rentify-insurance-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rentify-insurance-option {
    display: block;
    position: relative;
    padding: 25px;
    border: 2px solid var(--rentify-border);
    border-radius: var(--rentify-radius-lg);
    cursor: pointer;
    transition: var(--rentify-transition);
    background-color: var(--rentify-white);
}

.rentify-insurance-option:hover {
    border-color: var(--rentify-primary);
}

.rentify-insurance-option.recommended {
    border-color: var(--rentify-green);
}

.rentify-insurance-option input:checked + .insurance-header + .insurance-details,
.rentify-insurance-option:has(input:checked) {
    border-color: var(--rentify-green);
    background-color: rgba(62, 141, 78, 0.05);
}

.rentify-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: var(--rentify-secondary);
    color: var(--rentify-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.insurance-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* When badge is present (recommended option), add space above content */
.rentify-insurance-option.recommended .insurance-header {
    padding-top: 8px;
}

.insurance-info {
    flex: 1;
}

.insurance-name {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--rentify-dark);
}

.insurance-price .price-free {
    color: var(--rentify-green);
    font-weight: 600;
}

.insurance-price .price-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--rentify-text);
}

.insurance-price .price-period {
    color: var(--rentify-text-light);
}

.insurance-header input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--rentify-green);
}

.insurance-details {
    margin-top: 15px;
}

.toggle-details {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: var(--rentify-green);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.toggle-details svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.toggle-details.open svg {
    transform: rotate(180deg);
}

.insurance-description {
    margin-top: 10px;
    padding: 15px;
    background-color: transparent;
    border-radius: var(--rentify-radius);
}

.insurance-description p {
    margin: 0;
    color: var(--rentify-dark);
    font-size: 16px;
    text-transform: none;
    letter-spacing: 0;
}

/* ==========================================================================
   Extras Options
   ========================================================================== */
.rentify-extras-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rentify-extra-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border: 2px solid var(--rentify-border);
    border-radius: var(--rentify-radius-lg);
    cursor: pointer;
    transition: var(--rentify-transition);
}

.rentify-extra-option:hover {
    border-color: var(--rentify-primary);
}

.rentify-extra-option:has(input:checked) {
    border-color: var(--rentify-green);
    background-color: rgba(62, 141, 78, 0.05);
}

.rentify-extra-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.extra-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--rentify-green);
    cursor: pointer;
}

/* Extra icons hidden */
.extra-icon {
    display: none !important;
}

.extra-info {
    flex: 1;
}

.extra-name {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--rentify-dark);
}

.extra-price {
    margin-bottom: 5px;
}

.extra-price .price-amount {
    font-weight: 700;
    color: var(--rentify-text);
}

.extra-price .price-type {
    color: var(--rentify-text-light);
    font-size: 14px;
}

.extra-description {
    margin: 0;
    font-size: 13px;
    color: var(--rentify-text-light);
}

.extra-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    background-color: #fff3cd;
    border-radius: var(--rentify-radius);
    font-size: 12px;
    color: #856404;
}

.extra-notice svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.rentify-extras-note {
    margin-top: 20px;
    text-align: center;
    color: var(--rentify-text-light);
    font-size: 14px;
}

/* ==========================================================================
   Checkout Form
   ========================================================================== */
.rentify-checkout-section {
    margin-bottom: 35px;
}

.rentify-checkout-section h2 {
    margin: 0 0 24px 0;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rentify-primary);
    color: #000;
}

.section-description {
    margin: 0 0 20px 0;
    color: var(--rentify-text-light);
    font-size: 14px;
    display: none;
}

.rentify-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.rentify-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rentify-form-group.full-width {
    grid-column: 1 / -1;
}

.rentify-form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--rentify-text);
}

.rentify-form-group input,
.rentify-form-group select,
.rentify-form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--rentify-border);
    border-radius: var(--rentify-radius);
    font-size: 15px;
    transition: var(--rentify-transition);
}

.rentify-form-group input:focus,
.rentify-form-group select:focus,
.rentify-form-group textarea:focus {
    outline: none;
    border-color: var(--rentify-primary);
    box-shadow: 0 0 0 3px rgba(255, 214, 53, 0.2);
}

.rentify-form-group input.error,
.rentify-form-group select.error {
    border-color: #dc3545;
}

/* Checkout form placeholder - white color with opacity on dark background */
.rentify-checkout-form .rentify-form-group input::placeholder {
    color: var(--rentify-white);
    opacity: 0.7;
}

.rentify-checkout-form .rentify-form-group input::-webkit-input-placeholder {
    color: var(--rentify-white);
    opacity: 0.7;
}

.rentify-checkout-form .rentify-form-group input::-moz-placeholder {
    color: var(--rentify-white);
    opacity: 0.7;
}

.rentify-checkout-form .rentify-form-group input:-ms-input-placeholder {
    color: var(--rentify-white);
    opacity: 0.7;
}

/* Input text should be fully white when typing */
.rentify-checkout-form .rentify-form-group input {
    color: var(--rentify-white);
}

.rentify-gdpr-consent {
    padding: 20px;
    background-color: var(--rentify-gray);
    border-radius: var(--rentify-radius);
}

.rentify-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    letter-spacing: 0;
}

.rentify-checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--rentify-green);
    flex-shrink: 0;
}

.rentify-checkbox-label span {
    font-size: 14px;
    color: var(--rentify-text);
    line-height: 1.5;
    text-transform: none;
}

.rentify-checkbox-label a {
    color: var(--rentify-green);
}

/* ==========================================================================
   Checkout Summary
   ========================================================================== */
.rentify-checkout-summary {
    background-color: var(--rentify-gray);
    padding: 16px 20px;
    border-radius: var(--rentify-radius);
}

.rentify-checkout-summary .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.rentify-checkout-summary .summary-row:last-child {
    border-bottom: none;
}

.rentify-checkout-summary .summary-label {
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    flex-shrink: 0;
    margin-right: 15px;
}

.rentify-checkout-summary .summary-value {
    font-size: 16px;
    color: #000000;
    text-align: right;
    line-height: 1.4;
}

/* Error state for checkout form */
.rentify-checkout-form input.rentify-error,
.rentify-checkout-form textarea.rentify-error,
.rentify-checkout-form select.rentify-error {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.05);
}

.rentify-checkout-form .rentify-checkbox-label input.rentify-error {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

/* Spinner for loading state */
.rentify-spinner {
    width: 18px;
    height: 18px;
    animation: rentify-spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.rentify-spinner-text {
    vertical-align: middle;
}


@keyframes rentify-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Confirmation
   ========================================================================== */
/* When on confirmation step, make layout single-column */
.rentify-wizard-layout:has(.rentify-step-confirmation) {
    grid-template-columns: 1fr;
}

.rentify-step-confirmation {
    text-align: center;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0;
}

.rentify-confirmation-box {
    padding: 40px;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background-color: var(--rentify-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--rentify-white);
}

.rentify-step-confirmation h1 {
    margin: 0 0 15px 0;
    font-size: 28px;
    color: var(--rentify-text);
}

.confirmation-message {
    color: var(--rentify-text-light);
    font-size: 16px;
    margin-bottom: 30px;
}

.reservation-number {
    display: inline-block;
    background-color: var(--rentify-secondary);
    padding: 15px 30px;
    border-radius: var(--rentify-radius);
    margin-bottom: 30px;
}

.reservation-number .label {
    display: block;
    font-size: 12px;
    color: var(--rentify-text-light);
    margin-bottom: 5px;
}

.reservation-number strong {
    font-size: 24px;
    color: var(--rentify-dark);
}

.confirmation-info {
    text-align: left;
    margin-bottom: 30px;
}

.confirmation-info .info-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--rentify-border);
}

.confirmation-info .info-item:last-child {
    border-bottom: none;
}

.confirmation-info .info-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--rentify-green);
    flex-shrink: 0;
    margin-top: 4px;
}

.confirmation-info .info-item strong {
    display: block;
    margin-bottom: 5px;
    color: #000;
}

.confirmation-info .info-item p {
    margin: 0;
    color: var(--rentify-text-light);
    font-size: 14px;
}

.confirmation-actions {
    margin-top: 30px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.rentify-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--rentify-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--rentify-transition);
    text-decoration: none;
}

.rentify-btn svg {
    width: 18px;
    height: 18px;
}

.rentify-btn-primary,
body .rentify-btn-primary,
body.material .rentify-btn-primary,
#ajax-content-wrap .rentify-btn-primary,
.rentify-wizard-page .rentify-btn-primary,
.rentify-step-actions .rentify-btn-primary,
button.rentify-btn-primary {
    background-color: #ffd635 !important;
    color: #000 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: transform 0.2s ease !important;
    position: relative !important;
    top: 0 !important;
}

/* Submit reservation button - MUST be green #c4ff23 */
#submit-reservation,
body #submit-reservation,
body.material #submit-reservation,
#ajax-content-wrap #submit-reservation,
.rentify-wizard-page #submit-reservation,
.rentify-checkout-form #submit-reservation,
button#submit-reservation,
#submit-reservation.rentify-btn-primary,
body #submit-reservation.rentify-btn-primary,
body.material #submit-reservation.rentify-btn-primary {
    background-color: #c4ff23 !important;
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
}

.rentify-btn-primary:hover,
.rentify-btn-primary:focus,
.rentify-btn-primary:active,
body .rentify-btn-primary:hover,
body .rentify-btn-primary:focus,
body .rentify-btn-primary:active,
body.material .rentify-btn-primary:hover,
body.material .rentify-btn-primary:focus,
body.material .rentify-btn-primary:active,
#ajax-content-wrap .rentify-btn-primary:hover,
#ajax-content-wrap .rentify-btn-primary:focus,
#ajax-content-wrap .rentify-btn-primary:active,
.rentify-wizard-page .rentify-btn-primary:hover,
.rentify-wizard-page .rentify-btn-primary:focus,
.rentify-wizard-page .rentify-btn-primary:active,
.rentify-step-actions .rentify-btn-primary:hover,
.rentify-step-actions .rentify-btn-primary:focus,
.rentify-step-actions .rentify-btn-primary:active,
button.rentify-btn-primary:hover,
button.rentify-btn-primary:focus,
button.rentify-btn-primary:active {
    background-color: #ffd635 !important;
    color: #000 !important;
    border: none !important;
    box-shadow: none !important;
    transform: scale(1.05) !important;
    top: 0 !important;
    margin-top: 0 !important;
    opacity: 1 !important;
    position: relative !important;
}

/* Submit reservation button hover/focus/active - green */
#submit-reservation:hover,
#submit-reservation:focus,
#submit-reservation:active,
body #submit-reservation:hover,
body #submit-reservation:focus,
body #submit-reservation:active,
body.material #submit-reservation:hover,
body.material #submit-reservation:focus,
body.material #submit-reservation:active,
#ajax-content-wrap #submit-reservation:hover,
#ajax-content-wrap #submit-reservation:focus,
#ajax-content-wrap #submit-reservation:active,
.rentify-wizard-page #submit-reservation:hover,
.rentify-wizard-page #submit-reservation:focus,
.rentify-wizard-page #submit-reservation:active,
button#submit-reservation:hover,
button#submit-reservation:focus,
button#submit-reservation:active {
    background-color: #b3ee12 !important;
    color: #000 !important;
    border: none !important;
}

/* Submit reservation button disabled state */
#submit-reservation:disabled,
body #submit-reservation:disabled,
body.material #submit-reservation:disabled,
button#submit-reservation:disabled {
    background-color: #c4ff23 !important;
    color: #000 !important;
    opacity: 0.8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rentify-btn-secondary {
    background-color: transparent;
    color: #000 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: 1px solid #000;
}

.rentify-btn-secondary:hover {
    background-color: #000;
    color: #fff !important;
    border-color: #000;
}

.rentify-btn-large {
    padding: 15px 32px;
    font-size: 16px;
}

.rentify-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================================================
   Step Actions
   ========================================================================== */
.rentify-step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--rentify-border);
}

/* ==========================================================================
   Loading & No Results
   ========================================================================== */
.rentify-loading {
    text-align: center;
    padding: 60px 20px;
}

.rentify-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--rentify-gray);
    border-top-color: var(--rentify-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.rentify-loading p {
    color: var(--rentify-text-light);
    margin: 0;
}

.rentify-no-results {
    text-align: center;
    padding: 60px 20px;
}

.rentify-no-results svg {
    width: 60px;
    height: 60px;
    stroke: var(--rentify-text-muted);
    margin-bottom: 15px;
}

.rentify-no-results h3 {
    margin: 0 0 10px 0;
    color: var(--rentify-text);
}

.rentify-no-results p {
    margin: 0;
    color: var(--rentify-text-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.rentify-wizard-footer {
    background-color: var(--rentify-dark);
    padding: 20px 0;
    margin-top: auto;
}

.rentify-wizard-footer p {
    margin: 0;
    color: var(--rentify-text-muted);
    font-size: 14px;
    text-align: center;
}

/* ==========================================================================
   Hero Booking Element
   ========================================================================== */
.rentify-hero-booking {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 100vh;
}

.rentify-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.rentify-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1);
    animation: kenBurns 20s ease-in-out infinite;
}

.rentify-hero-slide.active {
    opacity: 1;
}

@keyframes kenBurns {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.rentify-hero-overlay {
    position: absolute;
    inset: 0;
}

.rentify-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1500px;
    padding: 0 30px;
    width: 100%;
    margin-top: 25vh;
}

.rentify-hero-text {
    margin-bottom: 40px;
}

.rentify-hero-title {
    margin: 0 0 15px 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rentify-hero-subtitle {
    margin: 0;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color: var(--rentify-white) !important;
}

.rentify-hero-form {
    background-color: var(--rentify-white);
    border-radius: var(--rentify-radius-lg);
    padding: 32px 35px 60px 35px;
    box-shadow: var(--rentify-shadow-lg);
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    transition: padding 0.3s ease;
    position: relative;
}

/* Expand form when return location is visible */
.rentify-hero-form.has-return-location {
    padding-bottom: 240px;
}


.rentify-booking-form {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: flex-end;
}

.rentify-booking-form .rentify-form-group {
    flex: 1 1 0;
    min-width: 0;
}

.rentify-booking-form .rentify-location-group {
    flex: 1.2 1 0;
}

.rentify-booking-form .rentify-datetime-group {
    flex: 1.1 1 0;
    position: relative;
}

.rentify-booking-form .rentify-submit-group {
    flex: 0 0 auto;
}

.rentify-hero-form .rentify-form-group {
    text-align: left;
}

/* Standardized label styling for hero form */
.rentify-hero-form label:not(.rentify-checkbox-label) {
    font-size: 14px;
    font-weight: 400;
    color: var(--rentify-dark);
    display: block;
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* Checkbox must be absolutely positioned below the form row */
.rentify-location-group {
    position: relative;
}

.rentify-location-group .rentify-checkbox-label {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 26px;
    margin-bottom: 20px;
    white-space: nowrap;
    z-index: 4;
}

.rentify-select-wrapper {
    position: relative;
    height: 44px;
}

.rentify-select-wrapper .rentify-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--rentify-white);
    pointer-events: none;
    z-index: 11;
}

.rentify-select-wrapper select {
    width: 100%;
    padding: 0 15px 0 40px;
    height: 44px;
    border: none;
    border-radius: var(--rentify-radius);
    font-size: 15px;
    appearance: none;
    background-color: var(--rentify-dark);
    color: var(--rentify-white);
    cursor: pointer;
}

.rentify-select-wrapper select option {
    color: var(--rentify-text);
    background-color: var(--rentify-white);
}

.rentify-datetime-wrapper {
    display: flex;
    border: none;
    border-radius: var(--rentify-radius);
    overflow: visible;
    height: 44px;
    background-color: var(--rentify-dark);
}

.rentify-date-input,
.rentify-time-input {
    flex: 1;
    position: relative;
}

.rentify-date-input {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--rentify-radius) 0 0 var(--rentify-radius);
}

.rentify-time-input {
    border-radius: 0 var(--rentify-radius) var(--rentify-radius) 0;
}

.rentify-datetime-wrapper .rentify-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: var(--rentify-white);
    pointer-events: none;
    z-index: 1;
}

.rentify-datetime-wrapper input,
.rentify-datetime-wrapper select {
    width: 100%;
    padding: 0 5px 0 32px !important;
    height: 100%;
    border: none;
    font-size: 16px;
    background-color: transparent;
    cursor: pointer;
    color: var(--rentify-white);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0;
}

/* Date input field - left corners only */
.rentify-date-input input {
    border-radius: var(--rentify-radius) 0 0 var(--rentify-radius) !important;
}

/* Time select field - right corners only */
.rentify-time-input select {
    border-radius: 0 var(--rentify-radius) var(--rentify-radius) 0 !important;
}

.rentify-datetime-wrapper input::placeholder {
    color: var(--rentify-white);
    opacity: 1;
}

.rentify-datetime-wrapper select option {
    color: var(--rentify-text);
    background-color: var(--rentify-white);
}

/* ==========================================================================
   Form Error Box - Single validation message at bottom
   ========================================================================== */

/* DEFAULT: When checkbox is NOT checked - normal document flow */
.rentify-form-error-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--rentify-radius);
    padding: 12px 16px;
    margin-top: 50px;
}

/* WITH RETURN LOCATION: When checkbox IS checked - absolute position at bottom */
.rentify-hero-form.has-return-location .rentify-form-error-box {
    position: absolute;
    bottom: 25px;
    left: 35px;
    right: 35px;
    margin-top: 0;
}

.rentify-form-error-box .rentify-error-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    flex-shrink: 0;
}

.rentify-form-error-box p {
    margin: 0;
    font-size: 14px;
    color: #92400e;
    line-height: 1.4;
}

.rentify-datetime-wrapper input:focus,
.rentify-datetime-wrapper select:focus {
    outline: none;
}

/* Hide original select when custom dropdown is active */
.rentify-select-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Custom Dropdown Styles */
.rentify-custom-dropdown {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.rentify-custom-dropdown.open {
    z-index: 1001;
}

.rentify-dropdown-selected {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px 0 40px;
    cursor: pointer;
    color: var(--rentify-white);
    font-size: 15px;
    background-color: var(--rentify-dark);
    border-radius: var(--rentify-radius);
}

/* Date input dropdown - left corners only */
.rentify-date-input .rentify-dropdown-selected {
    padding: 0 8px 0 32px;
    font-size: 13px;
    border-radius: var(--rentify-radius) 0 0 var(--rentify-radius);
}

/* Time input dropdown - right corners only */
.rentify-time-input .rentify-dropdown-selected {
    padding: 0 8px 0 32px;
    font-size: 13px;
    border-radius: 0 var(--rentify-radius) var(--rentify-radius) 0;
}

.rentify-dropdown-options {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    min-width: 100%;
    max-height: 280px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background-color: var(--rentify-white);
    border-radius: var(--rentify-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Location dropdown needs more width */
.rentify-select-wrapper .rentify-dropdown-options {
    min-width: 280px;
}

.rentify-custom-dropdown.open .rentify-dropdown-options {
    display: block;
}

.rentify-dropdown-option {
    padding: 12px 15px;
    cursor: pointer;
    color: var(--rentify-text);
    font-size: 14px;
    transition: background-color 0.15s ease;
    white-space: nowrap;
}

.rentify-dropdown-option:hover {
    background-color: var(--rentify-gray);
}

.rentify-dropdown-option.selected {
    background-color: var(--rentify-primary);
    color: var(--rentify-dark);
    font-weight: 500;
}

/* Error states with proper border-radius */
.rentify-error {
    box-shadow: 0 0 0 2px #dc3545 !important;
    border-radius: var(--rentify-radius) !important;
}

/* Location dropdown error - full border-radius */
.rentify-select-wrapper .rentify-custom-dropdown.rentify-error .rentify-dropdown-selected {
    box-shadow: 0 0 0 2px #dc3545;
    border-radius: var(--rentify-radius);
}

/* Date input error - left corners only */
.rentify-date-input input.rentify-error,
.rentify-date-input .rentify-custom-dropdown.rentify-error .rentify-dropdown-selected {
    box-shadow: 0 0 0 2px #dc3545 !important;
    border-radius: var(--rentify-radius) 0 0 var(--rentify-radius) !important;
}

/* Time dropdown error - right corners only */
.rentify-time-input .rentify-custom-dropdown.rentify-error .rentify-dropdown-selected {
    box-shadow: 0 0 0 2px #dc3545;
    border-radius: 0 var(--rentify-radius) var(--rentify-radius) 0;
}


/* Scrollbar styling for dropdown */
.rentify-dropdown-options::-webkit-scrollbar {
    width: 6px;
}

.rentify-dropdown-options::-webkit-scrollbar-track {
    background: var(--rentify-gray);
    border-radius: 3px;
}

.rentify-dropdown-options::-webkit-scrollbar-thumb {
    background: var(--rentify-border);
    border-radius: 3px;
}

.rentify-dropdown-options::-webkit-scrollbar-thumb:hover {
    background: var(--rentify-text-muted);
}

/* ==========================================================================
   Return Location Inline - appears inside location group after checkbox
   ========================================================================== */

/* Desktop: positioned absolutely below the form row */
.rentify-return-location-inline {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 55px;
    padding-top: 15px;
    width: 400px;
    z-index: 5;
}

/* Adjust position when there's an error */
.rentify-location-group.has-error .rentify-return-location-inline {
    margin-top: 75px;
}

.rentify-return-location-inline label {
    font-size: 14px;
    font-weight: 400;
    color: var(--rentify-dark);
    display: block;
    margin-bottom: 8px;
}

.rentify-return-location-inline .rentify-select-wrapper {
    height: 44px;
}

.rentify-hero-form .rentify-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
    color: var(--rentify-dark);
    cursor: pointer;
}

.rentify-hero-form .rentify-checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--rentify-primary);
}

.rentify-submit-group .rentify-btn {
    padding: 0 35px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    height: 44px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: var(--rentify-radius) !important;
    background-color: var(--rentify-primary) !important;
    color: var(--rentify-dark) !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    transition: transform 0.2s ease !important;
}

.rentify-submit-group .rentify-btn:hover {
    transform: scale(1.05) !important;
    background-color: var(--rentify-primary) !important;
    color: var(--rentify-dark) !important;
    top: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* Ensure button never changes on focus/active/validation states */
.rentify-submit-group .rentify-btn:focus,
.rentify-submit-group .rentify-btn:active,
.rentify-submit-group .rentify-btn.rentify-error {
    background-color: var(--rentify-primary) !important;
    color: var(--rentify-dark) !important;
    box-shadow: none !important;
    outline: none !important;
}

.rentify-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.rentify-hero-scroll svg {
    width: 30px;
    height: 30px;
    display: block;
}

.rentify-hero-scroll svg path,
.rentify-hero-scroll svg polyline {
    stroke: var(--rentify-white);
    opacity: 0.5;
    transition: stroke 0.3s ease, opacity 0.3s ease;
}

.rentify-hero-scroll:hover svg path,
.rentify-hero-scroll:hover svg polyline {
    stroke: var(--rentify-primary);
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================================================
   Flatpickr Customization
   ========================================================================== */
.flatpickr-calendar {
    box-shadow: var(--rentify-shadow-lg) !important;
    border-radius: var(--rentify-radius-lg) !important;
}

.flatpickr-day.selected {
    background-color: var(--rentify-primary) !important;
    border-color: var(--rentify-primary) !important;
    color: var(--rentify-dark) !important;
}

.flatpickr-day:hover {
    background-color: var(--rentify-gray) !important;
}

/* Make all selectable dates black (including next/prev month days) */
.flatpickr-day {
    color: var(--rentify-dark) !important;
}

.flatpickr-day.nextMonthDay,
.flatpickr-day.prevMonthDay {
    color: var(--rentify-dark) !important;
    opacity: 1 !important;
}

/* Only disabled dates should be grayed out */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: var(--rentify-text-muted) !important;
    opacity: 0.5 !important;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .rentify-wizard-layout {
        grid-template-columns: 1fr;
    }

    .rentify-wizard-sidebar {
        position: static;
        order: -1;
    }

    .rentify-summary-card {
        display: flex;
        flex-wrap: wrap;
    }

    .rentify-summary-section {
        flex: 1;
        min-width: 200px;
    }

    /* ==========================================================================
       TABLET BOOKING FORM LAYOUT
       ========================================================================== */

    .rentify-booking-form {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 15px;
    }

    .rentify-booking-form .rentify-form-group {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
    }

    .rentify-booking-form .rentify-submit-group {
        flex: 1 1 100%;
    }

    /* Checkbox positioning on tablet */
    .rentify-location-group .rentify-checkbox-label {
        position: static;
        margin-top: 10px;
        margin-bottom: 0;
    }

    /* Return location inline on tablet */
    .rentify-return-location-inline {
        position: relative;
        width: 100%;
        margin-top: 12px;
    }

    /* On tablet, no extra padding needed - elements are in normal flow */
    .rentify-hero-form.has-return-location {
        padding-bottom: 35px;
    }

    /* Error box on tablet - reset to normal flow */
    .rentify-form-error-box {
        position: static;
        margin-top: 20px;
    }

    .rentify-hero-form.has-return-location .rentify-form-error-box {
        position: static;
        margin-top: 20px;
        left: auto;
        right: auto;
        bottom: auto;
    }

}

@media (max-width: 768px) {
    /* ==========================================================================
       MOBILE HERO SECTION - FLEXIBLE HEIGHT
       ========================================================================== */

    /* Hero must grow with content, not be fixed */
    .rentify-hero-booking {
        min-height: 100vh;
        height: auto !important;
        padding: 60px 0 100px 0;
        align-items: flex-start;
    }

    /* Background must cover full height */
    .rentify-hero-background {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    .rentify-hero-slide {
        position: absolute;
        inset: 0;
    }

    /* Content takes natural height */
    .rentify-hero-content {
        padding: 0 15px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
    }

    /* Reduce spacing between title and form */
    .rentify-hero-text {
        margin-bottom: 20px;
    }

    .rentify-hero-title {
        font-size: 28px !important;
        margin: 0 0 0 0 !important;
    }

    /* Scroll arrow at bottom */
    .rentify-hero-scroll {
        bottom: 20px;
        z-index: 100;
    }

    /* ==========================================================================
       MOBILE FORM CONTAINER
       ========================================================================== */

    .rentify-hero-form {
        padding: 24px 20px 30px 20px;
        max-width: 100%;
        width: 100%;
    }

    /* On mobile, no extra padding needed - elements are in normal flow */
    .rentify-hero-form.has-return-location {
        padding-bottom: 30px;
    }

    /* Error box on mobile - reset to normal flow */
    .rentify-form-error-box {
        position: static;
        margin-top: 20px;
    }

    .rentify-hero-form.has-return-location .rentify-form-error-box {
        position: static;
        margin-top: 20px;
        left: auto;
        right: auto;
        bottom: auto;
    }

    /* ==========================================================================
       MOBILE FORM LAYOUT - VERTICAL STACK
       ========================================================================== */

    /* Form becomes vertical stack */
    .rentify-booking-form {
        display: flex;
        flex-direction: column;
        gap: 16px;
        flex-wrap: nowrap;
    }

    /* All form groups full width */
    .rentify-booking-form .rentify-form-group,
    .rentify-booking-form .rentify-location-group,
    .rentify-booking-form .rentify-datetime-group,
    .rentify-booking-form .rentify-submit-group {
        flex: none;
        width: 100%;
        min-width: 100%;
    }

    /* ==========================================================================
       MOBILE LABELS
       ========================================================================== */

    .rentify-hero-form label:not(.rentify-checkbox-label) {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 8px;
        display: block;
    }

    /* ==========================================================================
       MOBILE LOCATION SELECT - 48PX HEIGHT
       ========================================================================== */

    .rentify-select-wrapper {
        height: 48px;
    }

    .rentify-select-wrapper select {
        height: 48px;
        font-size: 15px;
        padding: 0 15px 0 42px;
    }

    .rentify-select-wrapper .rentify-icon {
        left: 14px;
        width: 20px;
        height: 20px;
        stroke: var(--rentify-white);
    }

    /* Custom dropdown - location */
    .rentify-select-wrapper .rentify-custom-dropdown {
        height: 48px;
    }

    .rentify-select-wrapper .rentify-dropdown-selected {
        height: 48px;
        padding: 0 15px 0 42px;
        font-size: 15px;
        border-radius: var(--rentify-radius);
    }

    /* ==========================================================================
       MOBILE RETURN LOCATION INLINE
       ========================================================================== */

    .rentify-return-location-inline label {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 8px;
    }

    .rentify-return-location-inline .rentify-select-wrapper {
        height: 48px;
    }

    .rentify-return-location-inline .rentify-select-wrapper select {
        height: 48px;
        font-size: 15px;
    }

    .rentify-return-location-inline .rentify-custom-dropdown {
        height: 48px;
    }

    .rentify-return-location-inline .rentify-dropdown-selected {
        height: 48px;
        font-size: 15px;
        padding: 0 15px 0 42px;
    }

    /* ==========================================================================
       MOBILE DATETIME WRAPPER - STAYS HORIZONTAL
       ========================================================================== */

    .rentify-datetime-wrapper {
        display: flex;
        flex-direction: row;
        height: 48px;
        gap: 0;
        background-color: var(--rentify-dark);
        border-radius: var(--rentify-radius);
        overflow: visible;
        position: static;
    }

    .rentify-date-input {
        flex: 1;
        height: 48px;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: var(--rentify-radius) 0 0 var(--rentify-radius);
        position: relative;
        overflow: visible;
    }

    .rentify-time-input {
        flex: 1;
        height: 48px;
        border-radius: 0 var(--rentify-radius) var(--rentify-radius) 0;
        position: relative;
        overflow: visible;
    }

    /* Date input */
    .rentify-date-input input {
        height: 48px;
        font-size: 14px;
        padding: 0 8px 0 36px !important;
        background-color: transparent;
        border-radius: var(--rentify-radius) 0 0 var(--rentify-radius) !important;
        color: var(--rentify-white);
    }

    /* Time select */
    .rentify-time-input select {
        height: 48px;
        font-size: 14px;
        padding: 0 8px 0 36px !important;
        background-color: transparent;
        border-radius: 0 var(--rentify-radius) var(--rentify-radius) 0 !important;
        color: var(--rentify-white);
    }

    /* Icons in datetime - WHITE color */
    .rentify-datetime-wrapper .rentify-icon {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        stroke: var(--rentify-white) !important;
        z-index: 2;
        pointer-events: none;
    }

    /* Custom dropdown inside datetime */
    .rentify-date-input .rentify-custom-dropdown,
    .rentify-time-input .rentify-custom-dropdown {
        height: 48px;
        width: 100%;
    }

    .rentify-date-input .rentify-dropdown-selected {
        height: 48px;
        padding: 0 8px 0 36px;
        font-size: 14px;
        border-radius: var(--rentify-radius) 0 0 var(--rentify-radius);
        background-color: transparent;
    }

    .rentify-date-input .rentify-dropdown-selected .rentify-dropdown-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
        max-width: 100%;
    }

    .rentify-time-input .rentify-dropdown-selected {
        height: 48px;
        padding: 0 8px 0 36px;
        font-size: 14px;
        border-radius: 0 var(--rentify-radius) var(--rentify-radius) 0;
        background-color: transparent;
    }

    .rentify-time-input .rentify-dropdown-selected .rentify-dropdown-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
        max-width: 100%;
    }

    /* ==========================================================================
       MOBILE SUBMIT BUTTON
       ========================================================================== */

    .rentify-submit-group {
        margin-top: 8px;
    }

    .rentify-submit-group .rentify-btn {
        width: 100%;
        height: 48px !important;
        font-size: 16px !important;
    }

    /* ==========================================================================
       MOBILE DROPDOWN OPTIONS
       ========================================================================== */

    .rentify-dropdown-options {
        max-height: 200px;
        min-width: 100%;
    }

    .rentify-select-wrapper .rentify-dropdown-options {
        min-width: 100%;
        left: 0;
        right: 0;
    }

    /* Checkbox positioning on mobile */
    .rentify-location-group .rentify-checkbox-label {
        position: static !important;
        margin-top: 10px;
        margin-bottom: 0;
    }

    /* Return location inline on mobile */
    .rentify-return-location-inline {
        position: relative !important;
        width: 100% !important;
        margin-top: 12px;
    }

    /* Error border-radius on mobile */
    .rentify-date-input input.rentify-error {
        box-shadow: 0 0 0 2px #dc3545 !important;
        border-radius: var(--rentify-radius) 0 0 var(--rentify-radius) !important;
    }

    .rentify-time-input .rentify-custom-dropdown.rentify-error .rentify-dropdown-selected {
        box-shadow: 0 0 0 2px #dc3545 !important;
        border-radius: 0 var(--rentify-radius) var(--rentify-radius) 0 !important;
    }

    .rentify-select-wrapper .rentify-custom-dropdown.rentify-error .rentify-dropdown-selected {
        box-shadow: 0 0 0 2px #dc3545 !important;
        border-radius: var(--rentify-radius) !important;
    }

    /* ==========================================================================
       OTHER MOBILE ADJUSTMENTS
       ========================================================================== */

    .rentify-wizard-progress {
        padding: 20px 0;
        overflow-x: auto;
    }

    .rentify-steps {
        min-width: 600px;
        padding: 0 20px;
    }

    .rentify-step {
        min-width: 100px;
    }

    .rentify-step-title {
        font-size: 12px;
    }

    .rentify-wizard-content {
        padding: 25px;
    }

    .rentify-step-header h1 {
        font-size: 22px;
    }

    .rentify-vehicles-grid {
        grid-template-columns: 1fr;
    }

    .rentify-form-grid {
        grid-template-columns: 1fr;
    }

    .rentify-step-actions {
        flex-direction: column;
        gap: 15px;
    }

    .rentify-step-actions .rentify-btn {
        width: 100%;
    }

    .rentify-summary-card {
        flex-direction: column;
    }

    .rentify-summary-section {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .rentify-container {
        padding: 0;
    }

    .rentify-wizard-content {
        padding: 20px 15px;
    }

    .rentify-vehicle-card .vehicle-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rentify-vehicle-card .price-total {
        text-align: left;
    }

    .rentify-insurance-option {
        padding: 15px;
    }

    /* More space for badge on mobile */
    .rentify-insurance-option.recommended .insurance-header {
        padding-top: 12px;
    }

    .rentify-extra-option {
        padding: 15px;
    }
}

/* ==========================================================================
   Fullscreen Loading Overlay
   ========================================================================== */
.rentify-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rentify-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.rentify-loading-content {
    text-align: center;
    padding: 40px;
}

.rentify-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--rentify-primary);
    border-radius: 50%;
    animation: rentify-overlay-spin 1s linear infinite;
    margin: 0 auto 25px;
}

@keyframes rentify-overlay-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rentify-loading-text {
    color: var(--rentify-white);
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Working Hours Info Tooltip
   ========================================================================== */

/* Tooltip trigger icon - yellow info icon */
.rentify-time-info-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 8px;
    cursor: pointer;
    vertical-align: text-bottom;
    position: relative;
    top: 1px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.rentify-time-info-trigger:hover {
    transform: scale(1.1);
}

.rentify-time-info-trigger svg {
    width: 22px;
    height: 22px;
}

/* Tooltip popup overlay */
.rentify-tooltip-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Tooltip content box */
.rentify-tooltip-content {
    background-color: var(--rentify-white);
    border-radius: var(--rentify-radius-lg);
    padding: 28px 32px;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: tooltipFadeIn 0.2s ease;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Close button */
.rentify-tooltip-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--rentify-gray);
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--rentify-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.rentify-tooltip-close:hover {
    background: var(--rentify-dark);
    color: var(--rentify-white);
}

/* Tooltip title */
.rentify-tooltip-content h4 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--rentify-dark);
    padding-right: 30px;
}

/* Tooltip text */
.rentify-tooltip-content p {
    margin: 0 0 12px 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--rentify-text);
}

.rentify-tooltip-content p:last-child {
    margin-bottom: 0;
}

/* Note text - smaller, different style */
.rentify-tooltip-note {
    font-size: 15px !important;
    color: #000;
    background-color: #fffbeb;
    border-left: 3px solid #ffd635;
    padding: 12px 14px !important;
    border-radius: 0 var(--rentify-radius) var(--rentify-radius) 0;
    margin-top: 10px !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .rentify-tooltip-content {
        padding: 24px 20px;
        margin: 10px;
    }

    .rentify-tooltip-content h4 {
        font-size: 18px;
    }

    .rentify-tooltip-content p {
        font-size: 14px;
    }

    .rentify-tooltip-note {
        font-size: 12px !important;
    }
}
