/* ================================================================
   Just in Time Cleaning - Quote Form Styles
   ================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    color: #333;
}

.quote-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Header */
.quote-header {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    padding: 30px 20px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.progress-step.active .step-number {
    background: #2ecc71;
    color: white;
    transform: scale(1.1);
}

.progress-step.completed .step-number {
    background: #27ae60;
    color: white;
}

.step-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
}

.progress-step.active .step-label {
    color: #2ecc71;
    font-weight: 600;
}

/* Form Steps */
.form-step {
    padding: 40px;
}

.form-step h2 {
    color: #27ae60;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    border-color: #2ecc71;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.15);
}

.service-card input[type="radio"] {
    display: none;
}

.service-card input[type="radio"]:checked + .service-icon {
    background: #2ecc71;
    color: white;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    margin: 0 auto 15px;
    transition: all 0.3s;
}

.service-card h3 {
    color: #27ae60;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.service-card p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2ecc71;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.char-count {
    text-align: right;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-label:hover {
    background: #e9ecef;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Validation Status */
.validation-status {
    margin-top: 8px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: none;
}

.validation-status.valid {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.validation-status.invalid {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Verify Button */
.btn-verify {
    margin-top: 10px;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-verify:hover {
    background: #2980b9;
}

.btn-verify:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

/* Address Suggestions */
.address-suggestions {
    position: relative;
    background: white;
    border: 2px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.address-suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
}

.address-suggestion-item:hover {
    background: #f8f9fa;
}

/* Calendar Section */
.calendar-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.calendar-info .note {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

.calendar-container {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    min-height: 400px;
}

.calendar-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.btn-connect {
    margin-top: 15px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 120, 212, 0.3);
}

.small-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 10px;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-prev {
    background: #f8f9fa;
    color: #6c757d;
}

.btn-prev:hover {
    background: #e9ecef;
}

.btn-next {
    background: #2ecc71;
    color: white;
}

.btn-next:hover {
    background: #27ae60;
}

.btn-next:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.btn-submit {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    font-size: 1.1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.3);
}

/* Review Section */
.review-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.review-section h3 {
    color: #27ae60;
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

.review-section h3:first-child {
    margin-top: 0;
}

#review-service,
#review-property,
#review-contact,
#review-schedule {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Terms Checkbox */
.terms-checkbox {
    margin: 25px 0;
}

.terms-checkbox a {
    color: #2ecc71;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* Success Message */
.success-message {
    padding: 60px 40px;
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.success-message h2 {
    color: #27ae60;
    font-size: 2rem;
    margin-bottom: 20px;
}

.success-message p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.success-message ul {
    text-align: left;
    max-width: 500px;
    margin: 20px auto;
    padding-left: 20px;
}

.success-message li {
    margin-bottom: 10px;
    color: #2c3e50;
}

.contact-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 1.1rem;
}

.btn-home {
    margin-top: 30px;
    padding: 15px 30px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-home:hover {
    background: #27ae60;
}

/* Responsive */
@media (max-width: 768px) {
    .quote-container {
        border-radius: 0;
    }
    
    .progress-bar {
        flex-wrap: wrap;
        padding: 20px 10px;
    }
    
    .progress-step {
        flex: 0 0 50%;
        margin-bottom: 15px;
    }
    
    .form-step {
        padding: 20px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
    }
}
