/* 견적 문의 모달 스타일 */
.quote-form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow-y: auto;
}

.quote-form-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    position: relative;
    margin: 20px;
}

.quote-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.quote-form-header h3 {
    margin: 0;
    font-size: 1.5em;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    color: #666;
}

.close-modal:hover {
    color: #333;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.quote-form button[type="submit"] {
    background-color: #1a237e;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quote-form button[type="submit"]:hover {
    background-color: #0056b3;
}

.quote-form button[type="submit"]:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 모달이 열려있을 때 body 스크롤 방지 */
body.modal-open {
    overflow: hidden;
}

/* 렌트 유형 선택기 스타일 */
.rent-type-selector .radio-group {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.rent-type-selector .radio-btn {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.rent-type-selector .radio-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.rent-type-selector .radio-label {
    display: block;
    padding: 8px 15px;
    text-align: center;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.rent-type-selector .radio-btn input[type="radio"]:checked + .radio-label {
    background-color: #4285F4;
    color: white;
    border-color: #4285F4;
}

.rent-type-selector .radio-btn:hover .radio-label {
    background-color: #e0e0e0;
}

.rent-type-selector .radio-btn input[type="radio"]:checked:hover + .radio-label {
    background-color: #3367d6;
} 