@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}


.carspa-bg {
    height: 100vh;
    background: #d8e2f1;
}

.term-privacy a {
    color: #6c757d;
    text-decoration: none;
}

.carspa-card {
    width: 100%;
    max-width: 450px;
    background: #ffffffd9;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transform: none !important;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    padding: 40px 30px !important;
}
.carspa-card:hover {
    box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}

.carspa-logo {
    width: 85px;
}

.carspa-input {
    padding: 14px !important;
    border-radius: 12px !important;
    border: 1.5px solid #d3d9e3 !important;
    background: #f9fbff !important;
    font-size: 15px !important;
}

.carspa-input:focus {
    border-color: #4c8dff !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 .25rem rgba(76,141,255,0.18) !important;
}

.carspa-btn {
    padding: 14px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    color: white;
}

.carspa-btn.optin {
    background: linear-gradient(45deg, #007bff, #00c6ff);
}
.carspa-btn.optin:hover {
    background: linear-gradient(45deg, #0056b3, #009ad6);
    color: #fff !important;
}

.carspa-btn.optout {
    background: linear-gradient(45deg, #dc3545, #ff6b6b);
}
.carspa-btn.optout:hover {
    background: linear-gradient(45deg, #b02a37, #ff4c4c);
    color: #fff !important;
}
/* ===== CarSpa Modal Styles ===== */
.carspa-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.carspa-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carspa-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.carspa-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    padding: 0;
    z-index: 10000;
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

.carspa-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #6c757d;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10001;
    line-height: 1;
    padding: 0;
}

.carspa-modal-close:hover {
    background: #f0f0f0;
    color: #333;
    transform: rotate(90deg);
}

.carspa-modal-body {
    padding: 40px 30px;
    text-align: center;
}

.carspa-modal-icon {
    margin-bottom: 20px;
}

.carspa-icon-success,
.carspa-icon-error {
    display: inline-block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    line-height: 70px;
    font-size: 40px;
    font-weight: bold;
    color: white;
}

.carspa-icon-success {
    background: linear-gradient(45deg, #28a745, #20c997);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.carspa-icon-error {
    background: linear-gradient(45deg, #dc3545, #ff6b6b);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.carspa-modal-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.carspa-modal-message {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 576px) {
    .carspa-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .carspa-modal-body {
        padding: 30px 20px;
    }
    
    .carspa-modal-title {
        font-size: 20px;
    }
    
    .carspa-modal-message {
        font-size: 14px;
    }
}