/**
 * Silva CRM Calculator Styles
 * 
 * Shared styles for all calculator wizards (painting, bathroom, flooring)
 */

/* =============================================================================
   Container & Layout
   ============================================================================= */

.silva-calculator-container {
    max-width: 860px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.silva-calculator-form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Summary Panel — full-width below form on all screen sizes */
.silva-calculator-summary {
    width: 100%;
    background: #f8f9fa;
    padding: 28px 40px 32px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 24px;
    box-sizing: border-box;
}

/* =============================================================================
   Header & Progress
   ============================================================================= */

.silva-calculator-header {
    margin-bottom: 30px;
}

.silva-calculator-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.silva-calculator-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.silva-calculator-progress {
    margin-bottom: 30px;
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    transition: width 0.4s ease;
    border-radius: 10px;
}

.progress-text {
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* =============================================================================
   Calculator Steps
   ============================================================================= */

.calculator-step {
    display: none;
}

.calculator-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calculator-step h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.calculator-step > p {
    font-size: 15px;
    color: #666;
    margin: 0 0 30px 0;
}

/* =============================================================================
   Form Elements
   ============================================================================= */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.form-group label.required::after {
    content: " *";
    color: #d32f2f;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group input.error-border,
.form-group select.error-border {
    border-color: #d32f2f;
}

.form-group input.valid-border,
.form-group select.valid-border {
    border-color: #4CAF50;
}

.form-group small {
    display: block;
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

.field-error {
    display: block;
    font-size: 13px;
    color: #d32f2f;
    margin-top: 5px;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.field-success {
    display: inline-block;
    margin-left: 8px;
    color: #4CAF50;
    font-size: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

/* =============================================================================
   Room & Option Cards
   ============================================================================= */

.room-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.2s;
}

.room-card:hover {
    border-color: #4CAF50;
}

.room-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.closet-card {
    margin-top: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.closet-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #333;
}

/* =============================================================================
   Checkbox & Radio Options
   ============================================================================= */

.checkbox-group,
.checkbox-group-vertical {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-group {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.checkbox-group-vertical {
    grid-template-columns: 1fr;
}

.checkbox-card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.checkbox-card:hover {
    border-color: #4CAF50;
    background: #f1f8f4;
}

.checkbox-card input[type="checkbox"],
.checkbox-card input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #4CAF50;
}

.checkbox-card input:checked ~ span {
    font-weight: 600;
    color: #4CAF50;
}

.checkbox-card input:checked {
    accent-color: #4CAF50;
}

.checkbox-card span {
    font-size: 15px;
    color: #333;
    transition: color 0.2s;
}

/* Conditional Options */
#door-options,
#closet-options,
#wall-material,
#ceiling-material,
#trim-material,
#door-material {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

#door-options h4,
#closet-options h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #333;
}

#wall-material,
#ceiling-material,
#trim-material,
#door-material {
    margin-bottom: 20px;
}

/* Select Dropdowns */
select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: #4CAF50;
}

/* =============================================================================
   Navigation Buttons
   ============================================================================= */

.step-navigation {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    flex: 1;
}

.btn-next:hover,
.btn-submit:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-next:active,
.btn-submit:active {
    transform: translateY(0);
}

.btn-prev {
    background: #f5f5f5;
    color: #666;
    border: 2px solid #e0e0e0;
}

.btn-prev:hover {
    background: #e0e0e0;
    color: #333;
}

.btn-save-resume {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #2271b1, #1d5d8c);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-save-resume:hover {
    background: linear-gradient(135deg, #1d5d8c, #164970);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.btn-save-resume:active {
    transform: translateY(0);
}

.btn-secondary {
    padding: 10px 20px;
    background: #757575;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #616161;
}

/* =============================================================================
   Estimate Summary Sidebar
   ============================================================================= */

.silva-calculator-summary h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #1a1a1a;
}

.summary-breakdown {
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
}

.summary-row.total {
    border-top: 2px solid #333;
    border-bottom: none;
    padding-top: 15px;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #4CAF50;
}

.summary-items h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #333;
}

/* Labor / Materials split sections */
.summary-section {
    margin-bottom: 20px;
}

.summary-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 8px 0;
    padding: 5px 10px;
    border-radius: 4px;
}

.summary-section--labor .summary-section-title {
    background: #e8f5e9;
    color: #2e7d32;
}

.summary-section--materials .summary-section-title {
    background: #e3f2fd;
    color: #1565c0;
}

.summary-items ul,
.selected-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-items li {
    padding: 7px 0;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.summary-items li:last-child {
    border-bottom: none;
}

.summary-items li .item-amount {
    font-weight: 600;
    white-space: nowrap;
    color: #333;
}

.summary-empty {
    font-style: italic;
    color: #aaa !important;
    font-size: 12px !important;
}

#estimate-summary {
    margin: 20px 0;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 8px;
}

#estimate-summary h3 {
    font-size: 22px;
    margin: 0 0 10px 0;
    color: #2e7d32;
}

#estimate-summary p {
    margin: 5px 0;
    font-size: 15px;
    color: #333;
}

#labor-cart-items,
#material-cart-items {
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0;
}

#labor-cart-items li,
#material-cart-items li {
    padding: 4px 0;
    font-size: 14px;
    color: #555;
}

/* =============================================================================
   Modal
   ============================================================================= */

.silva-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* Hidden by default, shown via JavaScript */
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.silva-modal.show {
    display: flex;
    animation: fadeIn 0.3s;
}

.silva-modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.silva-modal-content h3 {
    font-size: 28px;
    margin: 0 0 15px 0;
    color: #4CAF50;
}

.silva-modal-content p {
    font-size: 16px;
    margin: 10px 0;
    color: #666;
}

.silva-modal-content strong {
    color: #1a1a1a;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

.btn-close-modal {
    margin-top: 25px;
    padding: 12px 30px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-close-modal:hover {
    background: #45a049;
}

/* Estimate Disclaimer Section */
.estimate-disclaimer {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 20px 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid #2563eb;
    text-align: left;
}

.estimate-disclaimer p {
    margin: 0 0 12px 0;
    line-height: 1.6;
    color: #334155;
}

.estimate-disclaimer p:last-child {
    margin-bottom: 0;
}

.estimate-disclaimer p strong {
    color: #2563eb;
    font-size: 17px;
    display: block;
    margin-bottom: 8px;
}

.estimate-disclaimer ul {
    margin: 12px 0 0 0;
    padding-left: 20px;
    text-align: left;
}

.estimate-disclaimer li {
    margin-bottom: 8px;
    color: #4b5563;
    line-height: 1.6;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-schedule-visit {
    flex: 1;
    min-width: 180px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-schedule-visit:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    flex: 1;
    min-width: 180px;
    padding: 14px 28px;
    background: #f3f4f6;
    color: #4b5563;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e5e7eb;
    color: #1f2937;
    border-color: #d1d5db;
}

/* Cross-Sell Section */
.cross-sell-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 10px;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #4CAF50, #2563eb) 1;
    border-image-slice: 1;
    position: relative;
    text-align: center;
}

.cross-sell-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50 0%, #2563eb 100%);
    border-radius: 10px 10px 0 0;
}

.cross-sell-section h4 {
    margin: 0 0 12px 0;
    color: #2563eb;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.cross-sell-section p {
    margin: 0 0 18px 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.5;
}

.cross-sell-section .btn-primary {
    width: 100%;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cross-sell-section .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* Resume Modal */
.silva-resume-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.silva-resume-modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.silva-resume-modal-content h3 {
    font-size: 28px;
    margin: 0 0 15px 0;
    color: #4CAF50;
    text-align: center;
}

.silva-resume-modal-content p {
    font-size: 16px;
    margin: 0 0 25px 0;
    color: #666;
    text-align: center;
}

.resume-link-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.resume-link-container label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.resume-link-box {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.resume-link-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: monospace;
    background: white;
}

.resume-link-input:focus {
    outline: none;
    border-color: #2271b1;
}

.copy-link-btn {
    padding: 12px 20px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.copy-link-btn:hover {
    background: #1d5d8c;
}

.resume-link-container small {
    display: block;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.resume-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.resume-modal-actions .btn-continue {
    flex: 1;
    padding: 14px 28px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.resume-modal-actions .btn-continue:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.resume-modal-actions .btn-exit {
    flex: 1;
    padding: 14px 28px;
    background: #f5f5f5;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.resume-modal-actions .btn-exit:hover {
    background: #e0e0e0;
    color: #333;
}

/* =============================================================================
   Loading State
   ============================================================================= */

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =============================================================================
   Desktop Summary — horizontal stat strip
   ============================================================================= */

@media (min-width: 769px) {
    /* Horizontal 3‑column totals strip */
    .silva-calculator-summary .summary-breakdown {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 16px;
        margin-bottom: 28px;
    }

    .silva-calculator-summary .summary-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 18px 20px;
        background: #fff;
        border-radius: 10px;
        border: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        text-align: center;
        gap: 6px;
    }

    .silva-calculator-summary .summary-row.total {
        border-color: #a5d6a7;
        background: #e8f5e9;
        border-top: 1px solid #a5d6a7;
        margin-top: 0;
        padding-top: 18px;
    }

    /* Nav buttons side-by-side on desktop */
    .step-navigation {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .step-navigation .btn-prev {
        flex: 0 0 auto;
        min-width: 120px;
    }

    .step-navigation .btn-next,
    .step-navigation .btn-submit {
        flex: 0 0 auto;
        min-width: 180px;
    }

    .step-navigation .btn-save-resume {
        flex: 0 0 auto;
        min-width: 180px;
    }
}

/* =============================================================================
   Responsive Design - Mobile
   ============================================================================= */

@media (max-width: 968px) {
    .silva-calculator-container {
        padding: 15px;
    }
    
    .silva-calculator-summary {
        padding: 20px 24px;
    }
    
    .silva-calculator-form {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .silva-calculator-header h2 {
        font-size: 24px;
    }
    
    .calculator-step h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    /* Modal responsiveness for tablets */
    .silva-modal-content {
        width: 92%;
        padding: 35px 25px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .btn-schedule-visit,
    .btn-secondary {
        width: 100%;
        min-width: auto;
    }
    
    /* Compact room cards */
    .room-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .room-card h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    /* Side-by-side dimension inputs for Length/Width */
    .room-card .form-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* Other form rows remain single column */
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Reduce form spacing */
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    /* Compact checkbox groups */
    .checkbox-group {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    /* Compact navigation */
    .step-navigation {
        flex-direction: column;
        padding-top: 15px;
        gap: 10px;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
        padding: 12px 24px;
    }
    
    /* Touch-friendly input sizing */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 10px 12px;
    }
    
    .checkbox-card {
        padding: 10px;
        min-height: 44px;
    }
    
    /* Compact summary sidebar on mobile */
    .silva-calculator-summary {
        padding: 15px;
    }
    
    .summary-section {
        margin-bottom: 15px;
    }
    
    .summary-section h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

/* Mobile Modal Styles */
@media (max-width: 640px) {
    .silva-modal-content {
        width: 95%;
        padding: 25px 20px;
        max-height: 92vh;
        border-radius: 10px;
    }
    
    .silva-modal-content h3 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .silva-modal-content p {
        font-size: 15px;
    }
    
    .estimate-disclaimer {
        padding: 18px 20px;
        margin: 20px 0;
    }
    
    .estimate-disclaimer p strong {
        font-size: 16px;
    }
    
    .estimate-disclaimer li {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
    
    .btn-schedule-visit,
    .btn-secondary {
        width: 100%;
        min-width: auto;
        padding: 13px 20px;
        font-size: 15px;
    }
    
    .cross-sell-section {
        margin-top: 25px;
        padding: 20px 18px;
    }
    
    .cross-sell-section h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .cross-sell-section p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .cross-sell-section .btn-primary {
        padding: 13px 22px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .silva-calculator-container {
        margin: 20px auto;
        padding: 10px;
    }
    
    .silva-calculator-form {
        padding: 15px;
    }
    
    .silva-calculator-summary {
        padding: 15px;
    }
    
    .silva-calculator-header h2 {
        font-size: 22px;
    }
    
    .calculator-step h3 {
        font-size: 18px;
    }
    
    .silva-modal-content {
        padding: 25px;
        margin: 15px;
    }
}

/* =============================================================================
   Print Styles
   ============================================================================= */

@media print {
    .btn-prev,
    .btn-next,
    .btn-submit,
    .silva-calculator-progress,
    .step-navigation {
        display: none !important;
    }
    
    .calculator-step:not([data-step="5"]) {
        display: none !important;
    }
    
    .silva-calculator-container {
        flex-direction: column;
        box-shadow: none;
    }
    
    .silva-calculator-form,
    .silva-calculator-summary {
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
}

/* =============================================================================
   Accessibility
   ============================================================================= */

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid #4CAF50;
    outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #4CAF50;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .checkbox-card,
    .form-group input,
    .form-group select {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =============================================================================
   Welcome Modal & Draft Management Styles
   ============================================================================= */

.welcome-modal-content {
    max-width: 750px;
    text-align: left;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.welcome-modal-content .modal-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #e8eaed;
}

.welcome-modal-content .modal-header h2 {
    color: #1a1a1a;
    margin: 0 0 12px 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.welcome-modal-content .modal-header p {
    color: #5f6368;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

.estimate-section {
    margin-bottom: 32px;
}

.estimate-section h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8eaed;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.estimate-section h3 .section-icon {
    font-size: 22px;
}

.estimate-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 14px;
    border: 2px solid #e8eaed;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    animation: slideInUp 0.4s ease-out backwards;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Staggered animation for cards */
.estimate-card:nth-child(1) { animation-delay: 0.05s; }
.estimate-card:nth-child(2) { animation-delay: 0.1s; }
.estimate-card:nth-child(3) { animation-delay: 0.15s; }
.estimate-card:nth-child(4) { animation-delay: 0.2s; }
.estimate-card:nth-child(5) { animation-delay: 0.25s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.estimate-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    border-radius: 16px 0 0 16px;
    transition: width 0.3s ease, box-shadow 0.3s ease;
}

.draft-card::before {
    background: linear-gradient(180deg, #ff9800, #f57c00);
}

.completed-card::before {
    background: linear-gradient(180deg, #4CAF50, #388E3C);
}

.estimate-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.estimate-card:hover::before {
    width: 6px;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

/* Delete Button Styling */
.btn-delete-draft {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1.5px solid #e8eaed;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    color: #5f6368;
    z-index: 2;
}

.btn-delete-draft:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.btn-delete-draft:active {
    transform: scale(0.95);
}

.btn-delete-draft svg {
    width: 16px;
    height: 16px;
    transition: all 0.2s ease;
}

.btn-delete-draft:hover svg {
    stroke-width: 2.5;
}

.card-icon {
    font-size: 36px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.estimate-card:hover .card-icon {
    transform: scale(1.05);
}

.estimate-info {
    flex: 1;
    min-width: 0;
}

.estimate-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.estimate-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    border-radius: 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.draft-badge {
    background: linear-gradient(135deg, #fff9e6, #ffe69c);
    color: #b45309;
    border: 1px solid #fbbf24;
}

.completed-badge {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #166534;
    border: 1px solid #86efac;
}

.estimate-time {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.estimate-card h4 {
    font-size: 18px;
    margin: 0 0 12px 0;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.estimate-meta {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.estimate-amount {
    font-size: 20px;
    font-weight: 700;
    color: #2e7d32;
    margin: 6px 0 0 0;
}

.progress-info {
    margin-top: 12px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f1f3f5;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.progress-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-low {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.progress-medium {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.progress-high {
    background: linear-gradient(90deg, #10b981, #059669);
}

.progress-text {
    font-size: 13px;
    color: #6c757d;
    font-weight: 600;
}

.estimate-card .btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.estimate-card .btn .btn-icon {
    font-size: 15px;
}

.btn-resume-draft {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    cursor: pointer;
}

.btn-resume-draft:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.btn-resume-draft:active {
    transform: translateY(0);
}

.btn-edit-estimate {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    cursor: pointer;
}

.btn-edit-estimate:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.btn-edit-estimate:active {
    transform: translateY(0);
}

.estimate-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e8eaed;
    text-align: center;
}

.btn-start-fresh {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: white;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-start-fresh::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-start-fresh:hover::before {
    width: 300px;
    height: 300px;
}

.btn-start-fresh:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
}

.btn-start-fresh:active {
    transform: translateY(-1px);
}

.btn-start-fresh .btn-icon {
    font-size: 20px;
    position: relative;
    z-index: 1;
}

.estimate-summary {
    margin-top: 18px;
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

/* View More Link */
.view-more-drafts {
    display: inline-block;
    margin: 10px 0 0 0;
    padding: 8px 16px;
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.view-more-drafts:hover {
    background: #f0fdf4;
    color: #059669;
}

/* Confirmation Dialog Styling */
.confirm-dialog .modal-content {
    max-width: 420px;
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.2s ease-out;
}

.confirm-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

.confirm-icon svg {
    width: 48px;
    height: 48px;
}

.confirm-modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.confirm-modal-content p {
    font-size: 15px;
    color: #5f6368;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-actions .btn {
    flex: 1;
    max-width: 160px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-cancel-delete {
    background: #f3f4f6;
    color: #374151;
}

.btn-cancel-delete:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-confirm-delete {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.btn-confirm-delete:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

.confirm-actions .btn:active {
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .welcome-modal-content {
        max-width: 95%;
        padding: 25px 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .welcome-modal-content .modal-header h2 {
        font-size: 24px;
    }
    
    .estimate-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 16px 16px;
        gap: 12px;
    }
    
    .btn-delete-draft {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
    
    .btn-delete-draft svg {
        width: 18px;
        height: 18px;
    }
    
    .card-icon {
        width: 48px;
        height: 48px;
        font-size: 28px;
    }
    
    .estimate-info {
        width: 100%;
    }
    
    .estimate-card .btn {
        width: 100%;
        justify-content: center;
        margin: 0;
        padding: 14px 20px;
    }
    
    .estimate-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .estimate-card h4 {
        font-size: 16px;
    }
    
    .btn-start-fresh {
        width: 100%;
        justify-content: center;
        padding: 14px 32px;
    }
    
    .estimate-section h3 {
        font-size: 17px;
    }
    
    /* Confirmation Dialog Mobile */
    .confirm-dialog .modal-content {
        max-width: 90%;
        padding: 32px 24px;
    }
    
    .confirm-icon {
        width: 70px;
        height: 70px;
    }
    
    .confirm-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .confirm-modal-content h3 {
        font-size: 20px;
    }
    
    .confirm-actions {
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .confirm-actions .btn {
        max-width: 100%;
    }
}

/* =============================================================================
   Calculator Marketplace (Services Page) - Horizontal Card Carousel
   ============================================================================= */

.silva-calc-marketplace {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.silva-calc-marketplace.is-compact {
    padding: 0;
}

.calc-marketplace__header {
    margin: 0 0 8px;
    padding: 8px 0 0;
}

.calc-marketplace__intro {
    flex: 1;
}

.calc-marketplace__title {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 700;
    color: #1f2a44;
    line-height: 1.2;
}

.calc-marketplace__copy {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

/* Vertical Grid Card Container (converted from horizontal scroll) */
.calc-marketplace__row {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 16px !important;
    padding: 8px 4px 20px;
    margin: 0 -4px;
    overflow-x: visible !important;
    overflow-y: visible !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
}

/* Calculator Cards */
.calc-marketplace__card {
    width: 100%;
    min-width: unset;
    max-width: unset;
    height: 160px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    border: 2px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08),
                0 1px 3px rgba(15, 23, 42, 0.04);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-align: center;
    transition: transform 0.15s ease 0.05s, box-shadow 0.15s ease 0.05s, border-color 0.15s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.calc-marketplace__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calc-marketplace__card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.15),
                0 4px 8px rgba(59, 130, 246, 0.08);
    transform: translateY(-4px);
}

.calc-marketplace__card:hover::before {
    opacity: 1;
}

.calc-marketplace__card:active {
    transform: translateY(-2px);
}

/* Card Icon/Emoji */
.calc-marketplace__card-icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Card Title */
.calc-marketplace__card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a2e5c;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Description (if added) */
.calc-marketplace__card-desc {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

/* Card Actions */
.calc-marketplace__card-actions {
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.calc-marketplace__cta {
    background: transparent;
    color: #3b82f6;
    border: none;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.calc-marketplace__cta:hover {
    color: #2563eb;
    transform: translateX(2px);
}

.calc-marketplace__cta::after {
    content: '→';
    font-size: 14px;
    transition: transform 0.2s ease;
}

.calc-marketplace__cta:hover::after {
    transform: translateX(3px);
}

/* Compact Mode */
.silva-calc-marketplace.is-compact .calc-marketplace__header,
.silva-calc-marketplace.is-compact .calc-marketplace__note {
    display: none;
}

.silva-calc-marketplace.is-compact .calc-marketplace__row {
    padding-top: 0;
}

/* Loading state */
.calc-marketplace__card.loading {
    pointer-events: none;
    opacity: 0.6;
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.4; }
}

/* Focus state for accessibility */
.calc-marketplace__card:focus-within {
    outline: 3px solid #d97706;
    outline-offset: 4px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .calc-marketplace__title {
        font-size: 20px;
    }
    
    .calc-marketplace__copy {
        font-size: 14px;
    }
    
    .calc-marketplace__row {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }
    
    .calc-marketplace__card {
        height: 140px;
        padding: 12px 12px;
    }
    
    .calc-marketplace__card-icon {
        font-size: 28px;
    }
    
    .calc-marketplace__card-title {
        font-size: 14px;
    }
}

/* Carousel Dots - Hidden for vertical grid layout */
.calc-carousel-wrapper {
    position: relative;
}

.calc-carousel-wrapper .carousel-dots {
    display: none !important; /* Hidden - no longer needed with grid layout */
}

.carousel-dots[data-carousel-type="calculators"] {
    display: none !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .calc-marketplace__row {
        grid-template-columns: repeat(2, 1fr) !important;
        display: grid !important;
    }
}

@media (min-width: 1024px) {
    .calc-marketplace__row {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
        display: grid !important;
    }
}

@media (max-width: 480px) {
    .calc-marketplace__row {
        gap: 12px;
        padding: 6px 2px 8px;
        grid-template-columns: 1fr;
    }
    
    .calc-marketplace__card {
        height: 120px;
        padding: 10px 10px;
        gap: 6px;
    }
    
    .calc-marketplace__card-icon {
        font-size: 24px;
    }
}

/* =============================================================================
   Calculator Success Modal - Schedule Visit CTA
   ============================================================================= */

.estimate-disclaimer {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-left: 6px solid #f59e0b;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
}

.estimate-disclaimer p {
    margin: 0 0 12px 0;
    color: #78350f;
    line-height: 1.6;
}

.estimate-disclaimer p:last-child {
    margin-bottom: 0;
}

.estimate-disclaimer strong {
    color: #92400e;
    font-size: 16px;
}

.estimate-disclaimer ul {
    margin: 12px 0 0 20px;
    padding: 0;
    color: #78350f;
}

.estimate-disclaimer ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.btn-schedule-visit {
    flex: 2;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    color: white !important;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.btn-schedule-visit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    color: white !important;
    text-decoration: none;
}

.btn-close-modal.btn-secondary {
    flex: 1;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    min-width: 120px;
}

.btn-close-modal.btn-secondary:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

@media (max-width: 640px) {
    .modal-actions {
        flex-direction: column;
    }
    
    .btn-schedule-visit,
    .btn-close-modal.btn-secondary {
        flex: 1;
        width: 100%;
    }
}
