/* Pricing Calculator Page Styles */

.pricing-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Form Section */
.pricing-form {
    margin-bottom: 30px;
}

.pricing-form .form-group {
    margin-bottom: 24px;
}

.pricing-form label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 8px;
    color: var(--light-text);
}

.pricing-form .form-hint {
    display: block;
    font-size: 0.85em;
    color: var(--gray-text);
    margin-bottom: 8px;
}

/* Card-style radio buttons */
.radio-cards {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.radio-cards label {
    flex: 1;
    min-width: 180px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    font-size: 1em;
}

.radio-cards label:hover {
    border-color: var(--primary-orange);
    background: rgba(247, 127, 0, 0.08);
}

.radio-cards input[type="radio"] {
    display: none;
}

.radio-cards input[type="radio"]:checked + label,
.radio-cards label.selected {
    border-color: var(--primary-orange);
    background: rgba(247, 127, 0, 0.15);
    color: var(--white);
}

/* Standard inputs */
.pricing-form input[type="date"],
.pricing-form input[type="time"],
.pricing-form input[type="number"],
.pricing-form input[type="text"] {
    width: 100%;
    max-width: 300px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 1em;
    transition: var(--transition);
}

.pricing-form input:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.12);
}

.pricing-form input[type="text"].address-input {
    max-width: 100%;
}

/* Autocomplete dropdown */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-width: 100%;
    background: var(--darker-bg);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 100;
    display: none;
    max-height: 250px;
    overflow-y: auto;
}

.autocomplete-dropdown.visible {
    display: block;
}

.autocomplete-dropdown .ac-item {
    padding: 10px 14px;
    cursor: pointer;
    color: var(--light-text);
    font-size: 0.95em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.15s;
}

.autocomplete-dropdown .ac-item:hover,
.autocomplete-dropdown .ac-item.highlighted {
    background: rgba(247, 127, 0, 0.2);
}

.autocomplete-dropdown .ac-item:last-child {
    border-bottom: none;
}

/* Date conflict warning */
.date-conflict {
    margin-top: 8px;
    padding: 12px 16px;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid var(--primary-red);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 0.95em;
    line-height: 1.5;
}

.date-conflict a {
    color: var(--primary-yellow);
    text-decoration: underline;
}

.travel-status {
    margin-top: 6px;
    font-size: 0.9em;
    color: var(--gray-text);
}

.travel-status.included {
    color: #4caf50;
}

.travel-status.surcharge {
    color: var(--primary-yellow);
}

/* Results Section */
.pricing-results {
    display: none;
    margin-top: 30px;
}

.pricing-results.visible {
    display: block;
}

.pricing-results h3 {
    font-size: 1.3em;
    margin-bottom: 16px;
    color: var(--primary-yellow);
}

/* Timeline */
.timeline-display {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 24px;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.95em;
    line-height: 1.8;
}

.timeline-display .tl-row {
    display: flex;
    gap: 16px;
}

.timeline-display .tl-time {
    color: var(--primary-orange);
    white-space: nowrap;
    min-width: 80px;
}

.timeline-display .tl-event {
    color: var(--light-text);
}

/* Fee breakdown table */
.fee-breakdown {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.fee-breakdown table {
    width: 100%;
    border-collapse: collapse;
}

.fee-breakdown td {
    padding: 6px 0;
    color: var(--light-text);
}

.fee-breakdown td:last-child {
    text-align: right;
    white-space: nowrap;
}

.fee-breakdown tr.separator td {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 10px;
}

.fee-breakdown tr.total td {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-yellow);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 12px;
}

.fee-breakdown .detail-text {
    color: var(--gray-text);
    font-size: 0.9em;
}

/* Action Buttons */
.pricing-actions {
    text-align: center;
    margin: 30px 0;
}

.btn-email-estimate {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
}

.btn-email-estimate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
    text-decoration: none;
    color: var(--white);
}

.pricing-actions .contact-link {
    display: block;
    margin-top: 16px;
    color: var(--gray-text);
    font-size: 0.95em;
}

.pricing-actions .contact-link a {
    color: var(--primary-orange);
    text-decoration: none;
}

.pricing-actions .contact-link a:hover {
    text-decoration: underline;
}

/* Notes Section */
.pricing-notes {
    margin-top: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.pricing-notes h3 {
    font-size: 1.15em;
    margin-bottom: 16px;
    color: var(--light-text);
}

.pricing-notes ul {
    list-style: none;
    padding: 0;
}

.pricing-notes li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--gray-text);
    font-size: 0.95em;
    line-height: 1.6;
}

.pricing-notes li::before {
    content: "\2022";
    color: var(--primary-orange);
    position: absolute;
    left: 0;
}

.pricing-notes .note-highlight {
    color: var(--primary-yellow);
    font-weight: bold;
}

/* Hire Us banner on contact page */
.hire-us-banner {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.hire-us-banner p {
    color: var(--white) !important;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.hire-us-banner a {
    color: var(--white);
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 25px;
    border-radius: 25px;
    display: inline-block;
    transition: var(--transition);
    text-decoration: none;
    font-weight: bold;
}

.hire-us-banner a:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
    .radio-cards {
        flex-direction: column;
    }

    .radio-cards label {
        min-width: unset;
    }

    .pricing-form input[type="date"],
    .pricing-form input[type="time"],
    .pricing-form input[type="number"] {
        max-width: 100%;
    }

    .timeline-display {
        padding: 14px;
        font-size: 0.85em;
    }

    .fee-breakdown {
        padding: 14px;
    }
}
