/* Premier Home Builders Quote Form Styles */
.phb-quote-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.phb-quote-form h2 {
    text-align: center;
    color: #2c5530;
    margin-bottom: 10px;
    font-size: 2em;
}

.phb-quote-form .form-description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.phb-progress-container {
    margin-bottom: 30px;
}

.phb-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.phb-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.phb-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #1e3a1f 0%, #2c5530 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.phb-step {
    display: none;
}

.phb-step.active {
    display: block;
}

.phb-step h3 {
    color: #2c5530;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.phb-project-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.phb-project-type {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.phb-project-type:hover {
    border-color: #2c5530;
}

.phb-project-type.selected {
    border-color: #2c5530;
    background-color: #f0f8f0;
}

.phb-project-type input[type="radio"] {
    display: none;
}

.phb-project-icon {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    color: #2c5530;
    font-size: 50px;
}

.phb-project-info h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-weight: 600;
}

.phb-project-info p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.phb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

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

.phb-form-group input,
.phb-form-group select,
.phb-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

.phb-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.phb-styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.phb-style-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.phb-style-option:hover {
    border-color: #2c5530;
}

.phb-style-option input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
}

.phb-style-option input[type="checkbox"]:checked + label {
    color: #2c5530;
    font-weight: 600;
}

.phb-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.phb-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.phb-btn-primary {
    background: #669900;
    color: white;
}

.phb-btn-primary:hover {
    background: #558000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 153, 0, 0.3);
}

.phb-btn-secondary {
    background: transparent;
    color: #2c5530;
    border: 2px solid #2c5530;
}

.phb-btn-secondary:hover {
    background: #2c5530;
    color: white;
}

.phb-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.phb-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.phb-spinner {
    border: 4px solid #e5e5e5;
    border-top: 4px solid #2c5530;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: phb-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes phb-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.phb-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.phb-success-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.phb-success-icon {
    width: 60px;
    height: 60px;
    color: #2c5530;
    margin: 0 auto 20px;
}

.phb-error {
    background: #fee;
    color: #c33;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .phb-form-row {
        grid-template-columns: 1fr;
    }
    
    .phb-project-types {
        grid-template-columns: 1fr;
    }
    
    .phb-styles-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .phb-navigation {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .phb-quote-form {
        padding: 15px;
    }
    
    .phb-styles-grid {
        grid-template-columns: 1fr;
    }
}