﻿/* Quote Calculator Styles */
.quote-calculator-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.quote-calculator-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

    .quote-calculator-card .card-header {
        background-color: #0a4b78;
        color: white;
        padding: 25px 30px;
        border-bottom: none;
    }

        .quote-calculator-card .card-header h2 {
            font-weight: 600;
            margin-bottom: 10px;
        }

        .quote-calculator-card .card-header p {
            margin-bottom: 0;
            opacity: 0.9;
        }

    .quote-calculator-card .card-body {
        padding: 30px;
    }

/* Calculator Sections */
.calculator-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e9ecef;
}

    .calculator-section:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .calculator-section h3 {
        color: #0a4b78;
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #e9ecef;
    }

/* Tracker Selection */
.tracker-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

    .tracker-item:hover {
        background-color: #f1f3f5;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

.tracker-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.tracker-info p {
    font-size: 0.9rem;
    color: #666;
}

.price-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.price-monthly {
    font-weight: 700;
    color: #0a4b78;
    font-size: 1.1rem;
}

.price-hardware {
    font-size: 0.9rem;
    color: #666;
}

/* Quantity Control */
.quantity-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.quantity-input {
    display: flex;
    align-items: center;
    max-width: 120px;
}

.quantity-btn {
    background-color: #e9ecef;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .quantity-btn:hover {
        background-color: #dee2e6;
    }

.quantity-input input {
    text-align: center;
    border-radius: 4px;
    margin: 0 5px;
    min-width: 50px;
}

/* Add-ons */
.addons-group {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.addons-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 15px;
}

.addon-item {
    border-bottom: 1px solid #e9ecef;
}

    .addon-item:last-child {
        border-bottom: none;
    }

.addon-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.addon-price {
    font-size: 0.9rem;
    color: #555;
}

/* Quote Summary */
.quote-summary-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

    .summary-item.total {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 2px solid #dee2e6;
    }

.summary-label {
    font-weight: 500;
    color: #444;
}

.summary-value {
    font-weight: 700;
    color: #0a4b78;
    font-size: 1.1rem;
}

.summary-item.total .summary-label,
.summary-item.total .summary-value {
    font-size: 1.2rem;
}

.summary-note {
    background-color: #e9f5fe;
    border-left: 4px solid #0a4b78;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #444;
}

/* Help Section */
.help-section {
    background-color: #f1f5f9;
}

    .help-section h3 {
        color: #0a4b78;
        font-weight: 600;
        margin-bottom: 15px;
    }

/* Hero Divider */
.hero-divider {
    width: 80px;
    height: 4px;
    background: #ff9800;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    background-color: #0a4b78;
    border-color: #0a4b78;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: #083d61;
        border-color: #083d61;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.btn-outline-primary {
    color: #0a4b78;
    border-color: #0a4b78;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background-color: #0a4b78;
        border-color: #0a4b78;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .tracker-item {
        padding: 15px;
    }

    .quote-calculator-card .card-body {
        padding: 20px 15px;
    }

    .quote-summary-container {
        padding: 15px;
    }

    .price-label, .quantity-label {
        margin-top: 10px;
    }

    .quantity-control {
        margin-top: 10px;
    }
}

/* Discount and Promotion Styles */

/* Coupon Section */
.coupon-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

#couponMessage {
    font-size: 0.9rem;
    font-weight: 500;
}

.coupon-success {
    color: #28a745;
}

.coupon-error {
    color: #dc3545;
}

/* Active Promotion */
.active-promotion {
    background-color: #fff9db;
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #ffc107;
}

.promotion-badge {
    display: inline-block;
    background-color: #ffc107;
    color: #212529;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

#promotionMessage {
    font-size: 0.95rem;
    color: #555;
}

/* Price Display */
.hardware-price {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-original {
    font-size: 0.9rem;
    color: #888;
    text-decoration: line-through;
    margin-right: 5px;
    display: none;
}

.price-hardware {
    font-weight: 700;
    color: #0a4b78;
}

.hardware-label {
    font-size: 0.9rem;
    color: #666;
}

/* Summary Styles */
.original-cost {
    font-size: 0.9rem;
    color: #888;
    text-decoration: line-through;
    margin-right: 8px;
    display: none;
}

.discount-value {
    color: #28a745 !important;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .active-promotion {
        margin-top: 15px;
    }
}
