/* Modal Base */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1001; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto; 
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

/* Simulator Form */
.simulator-form h2 {
    font-size: 2em;
    color: #0a1128;
    margin-bottom: 15px;
    text-align: center;
}

.simulator-form p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.form-progress {
    margin-bottom: 25px;
}

.progress-bar {
    background-color: #e9ecef;
    border-radius: 20px;
    height: 10px;
    overflow: hidden;
}

.progress-fill {
    background-color: #28a745;
    height: 100%;
    width: 20%; /* Initial width */
    border-radius: 20px;
    transition: width 0.4s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

.trust-indicators {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #555;
}

.trust-icon {
    font-size: 1.2em;
    color: #28a745;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.btn-primary.full-width {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary.full-width:hover {
    background-color: #0056b3;
}

/* Results Modal */
.results-content h2 {
    font-size: 2.2em;
    color: #28a745;
    text-align: center;
    margin-bottom: 20px;
}

.results-summary {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.offer-card {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: #ffc107;
    color: #333;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.8em;
}

.offer-card h3 {
    font-size: 1.5em;
    color: #0a1128;
    margin-bottom: 15px;
}

.offer-details p {
    margin-bottom: 8px;
    font-size: 0.95em;
}

.offer-highlights {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.offer-highlights .highlight {
    background-color: #e9ecef;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    color: #555;
}

.next-steps {
    text-align: center;
    margin-top: 30px;
}

.next-steps h3 {
    font-size: 1.8em;
    color: #0a1128;
    margin-bottom: 15px;
}

.next-steps p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

/* Exit Intent Modal */
.exit-modal .modal-content {
    background-color: #ff4d4d;
    color: #fff;
    text-align: center;
}

.exit-content h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.exit-content p {
    font-size: 1.2em;
    margin-bottom: 25px;
}

.exit-offer {
    background-color: #fff;
    color: #333;
    padding: 25px;
    border-radius: 10px;
}

.exit-badge {
    background-color: #28a745;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.exit-offer h3 {
    font-size: 1.8em;
    color: #0a1128;
    margin-bottom: 15px;
}

.exit-offer p {
    font-size: 0.95em;
    color: #555;
}

.exit-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
    display: inline-block;
}

.exit-benefits li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.exit-timer {
    font-size: 1.2em;
    margin-bottom: 20px;
}

#exit-countdown {
    font-weight: bold;
    color: #ff4d4d;
}

.btn-link {
    background: none;
    border: none;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 10px;
}


