/* ============================================
   PREMIUM RENTAL NOTICE MODAL
   Minimum 3 Days Rental Information
   Beautiful, Modern Design
   ============================================ */

/* Modal Overlay */
.rental-notice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.rental-notice-overlay.rental-notice-visible {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modal Container */
.rental-notice-modal {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Decorative Header Background */
.rental-notice-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(135deg, #E31E24 0%, #FF5252 100%);
    overflow: hidden;
}

.rental-notice-header-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

/* Floating Particles in Header */
.rental-notice-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.rental-notice-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatParticle 3s infinite ease-in-out;
}

.rental-notice-particles span:nth-child(1) {
    left: 20%;
    top: 30%;
    animation-delay: 0s;
    animation-duration: 4s;
}

.rental-notice-particles span:nth-child(2) {
    left: 50%;
    top: 50%;
    animation-delay: 1s;
    animation-duration: 3.5s;
    width: 4px;
    height: 4px;
}

.rental-notice-particles span:nth-child(3) {
    left: 80%;
    top: 25%;
    animation-delay: 2s;
    animation-duration: 4.5s;
    width: 5px;
    height: 5px;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-15px) translateX(10px);
        opacity: 0.6;
    }
}

/* Car Icon */
.rental-notice-icon {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px auto 0;
    box-shadow: 0 10px 40px rgba(227, 30, 36, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.5);
}

.rental-notice-icon i {
    font-size: 2.2rem;
    color: #E31E24;
    animation: carBounce 2s infinite ease-in-out;
}

@keyframes carBounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* Modal Title */
.rental-notice-modal h3 {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 900;
    color: #1A1A2E;
    margin: 20px 0 0;
    padding: 0 30px;
    line-height: 1.2;
}

/* Modal Body */
.rental-notice-body {
    position: relative;
    z-index: 2;
    padding: 30px 32px 32px;
}

/* Highlight Box - Minimum Rental Period */
.rental-notice-highlight {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE8E9 100%);
    border: 2px solid #E31E24;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(227, 30, 36, 0.1);
}

.rental-notice-highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E31E24 0%, #FF5252 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

.rental-notice-highlight-icon i {
    font-size: 1.4rem;
    color: #ffffff;
}

.rental-notice-highlight-text {
    flex: 1;
}

.rental-notice-highlight-text span {
    display: block;
    font-size: 0.85rem;
    color: #6C757D;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.rental-notice-highlight-text strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #E31E24;
    line-height: 1;
}

/* Body Text */
.rental-notice-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 24px;
    text-align: center;
}

.rental-notice-body p strong {
    color: #E31E24;
    font-weight: 700;
}

/* Features List */
.rental-notice-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.rental-notice-feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid #DEE2E6;
}

.rental-notice-feat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #F8F9FA 100%);
    border-color: #E31E24;
}

.rental-notice-feat i {
    font-size: 1.8rem;
    color: #E31E24;
    transition: all 0.3s ease;
}

.rental-notice-feat:hover i {
    transform: scale(1.15);
}

.rental-notice-feat span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    line-height: 1.3;
}

/* CTA Button */
.rental-notice-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #E31E24 0%, #FF5252 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 24px rgba(227, 30, 36, 0.3);
    letter-spacing: 0.3px;
}

.rental-notice-btn:hover {
    background: linear-gradient(135deg, #FF5252 0%, #E31E24 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(227, 30, 36, 0.4);
}

.rental-notice-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(227, 30, 36, 0.3);
}

.rental-notice-btn i {
    font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .rental-notice-modal {
        max-width: 94%;
        border-radius: 20px;
    }

    .rental-notice-header-bg {
        height: 120px;
    }

    .rental-notice-icon {
        width: 70px;
        height: 70px;
        margin-top: 50px;
    }

    .rental-notice-icon i {
        font-size: 1.8rem;
    }

    .rental-notice-modal h3 {
        font-size: 1.4rem;
        padding: 0 20px;
        margin: 16px 0 0;
    }

    .rental-notice-body {
        padding: 24px 20px 24px;
    }

    .rental-notice-highlight {
        padding: 16px;
        gap: 12px;
    }

    .rental-notice-highlight-icon {
        width: 44px;
        height: 44px;
    }

    .rental-notice-highlight-icon i {
        font-size: 1.2rem;
    }

    .rental-notice-highlight-text strong {
        font-size: 1.5rem;
    }

    .rental-notice-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rental-notice-feat {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 16px;
        gap: 12px;
    }

    .rental-notice-feat i {
        font-size: 1.5rem;
    }

    .rental-notice-feat span {
        text-align: left;
    }

    .rental-notice-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

/* Tablet Responsive */
@media (min-width: 577px) and (max-width: 768px) {
    .rental-notice-modal {
        max-width: 480px;
    }

    .rental-notice-features {
        grid-template-columns: repeat(3, 1fr);
    }

    .rental-notice-feat {
        padding: 14px 10px;
    }

    .rental-notice-feat span {
        font-size: 0.75rem;
    }
}

/* Animation for better UX */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.rental-notice-btn {
    animation: pulse 2s infinite ease-in-out;
}

.rental-notice-btn:hover {
    animation: none;
}

/* Accessibility */
.rental-notice-overlay:focus-within {
    outline: 2px solid #E31E24;
    outline-offset: -2px;
}

/* Print - Hide Modal */
@media print {
    .rental-notice-overlay {
        display: none !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .rental-notice-modal,
    .rental-notice-overlay,
    .rental-notice-btn,
    .rental-notice-icon i,
    .rental-notice-particles span,
    .rental-notice-feat {
        animation: none !important;
        transition: none !important;
    }
}