body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

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

#locality-suggestions {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

.highlighted {
    background-color: #e63946 !important;
    color: white !important;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.header h1 {
    color: #e63946;
    margin-bottom: 10px;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mobile-verification {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.mobile-verification h2 {
    color: #e63946;
    margin-top: 0;
}

.quotes-list {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.quotes-list h2 {
    color: #e63946;
    margin-top: 0;
    text-align: center;
}

.quote-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.quote-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.quote-card.confirmed {
    opacity: 0.7;
    background-color: #f8f9fa;
}

.quote-id {
    font-weight: bold;
    color: #e63946;
    margin-bottom: 5px;
}

.quote-client {
    color: #555;
    margin-bottom: 5px;
}

.quote-amount {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.quote-date {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.badge.confirmed {
    background-color: #d4edda;
    color: #155724;
}

.badge.pending {
    background-color: #fff3cd;
    color: #856404;
}

.booking-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.booking-form {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.quote-summary {
    width: 350px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
    outline: none;
}

.btn {
    background: #e63946;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn:hover {
    background: #c1121f;
}

.btn-outline {
    background: transparent;
    border: 1px solid #e63946;
    color: #e63946;
}

.btn-outline:hover {
    background: #e63946;
    color: white;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.couple-names {
    display: flex;
    gap: 15px;
}

.couple-names .form-group {
    flex: 1;
}

.package-details {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.package-details h4 {
    margin-top: 0;
    color: #333;
}

.event-item, .addon-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.event-item:last-child, .addon-item:last-child {
    border-bottom: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    color: #e63946;
}

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

.close:hover {
    color: #333;
}

.payment-details {
    margin-bottom: 25px;
}

.payment-amount {
    font-size: 24px;
    font-weight: bold;
    color: #e63946;
    margin: 15px 0;
}

/* Discount styles */
.discount-applied {
    color: #28a745;
    font-weight: bold;
}

.discounted-subtotal {
    font-weight: bold;
    border-top: 1px dashed #ddd;
    padding-top: 8px;
    margin-top: 8px;
}

.btn-discount {
    background-color: #28a745;
    margin-top: 15px;
}

.btn-discount-remove {
    background-color: #dc3545;
    margin-top: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.price-label {
    font-weight: 500;
}

.price-value {
    font-size: 1rem;
    font-weight: 500;
}

/*total-amount*/

.grand-total {
    border-top: 2px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 1.1em;
}

.adv{
    margin-top: 15px;
}

.advance-amount {
    color: #e63946;
    font-size: 1rem;
}

.advance-amount small {
    display: block;
    font-size: 0.8em;
    color: #666;
}

.discount-actions {
    margin: 15px 0;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.btn-discount {
    background-color: #28a745;
    color: white;
}

.btn-discount:hover {
    background-color: #218838;
}

.btn-remove-discount {
    background-color: #dc3545;
    color: white;
}

.btn-remove-discount:hover {
    background-color: #c82333;
}

.price-summary {
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.price-item.total {
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.price-item.discount {
    color: #e63946;
}

.price-summary {
    transition: all 0.3s ease;
}

.price-item {
    transition: all 0.3s ease;
}

.discount-row, .subtotal-row {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.discount-row.show, .subtotal-row.show {
    max-height: 50px;
    opacity: 1;
    margin-bottom: 8px;
    padding: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .couple-names {
        flex-direction: column;
        gap: 0;
    }
    
    .quote-summary {
        width: 100%;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .quote-cards {
        grid-template-columns: 1fr;
    }
}


.price-summary {
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}
.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.price-item.total {
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}
.discount-options {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #e9ecef;
}
.discount-options h4 {
    margin-top: 0;
    color: #495057;
}
.package-features {
    margin-top: 20px;
}
.package-features ul {
    list-style: none;
    padding-left: 0;
}
.package-features li {
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
}
.package-features li:last-child {
    border-bottom: none;
}
.feature-icon {
    color: #28a745;
    margin-right: 8px;
}