/* Property Inquiry Manager - Frontend Styles */

.pim-form-wrapper {
    max-width: 600px;
    margin: 30px auto;
    padding: 0;
}

.pim-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pim-form-row {
    margin-bottom: 25px;
}

.pim-form-group {
    width: 100%;
}

.pim-form-group label {
    display: inline-flex;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.pim-label-main {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 12px;
    display: block;
}

.required {
    color: #e74c3c;
}

.pim-input,
.pim-select {
    width: 100%;
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.pim-input:focus,
.pim-select:focus {
    outline: none;
    border-color: #3498db;
}

.pim-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pim-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.pim-radio-label:hover {
    background-color: #f8f9fa;
    border-color: #3498db;
}

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

.pim-radio-label span {
    font-size: 14px;
    color: #333;
}

.pim-submit-btn {
    width: 100%;
    padding: 15px 30px;
    background-color: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pim-submit-btn:hover {
    background-color: #2980b9;
}

.pim-submit-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.pim-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.pim-form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.pim-form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Success Popup */
.pim-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 9998;
}

.pim-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.pim-popup-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    max-width: 400px;
}

.pim-popup-icon {
    margin-bottom: 20px;
}

.pim-popup-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 24px;
}

.pim-popup-content p {
    margin: 0 0 25px 0;
    color: #666;
    font-size: 16px;
}

.pim-popup-close {
    padding: 12px 30px;
    background-color: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pim-popup-close:hover {
    background-color: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pim-form {
        padding: 25px;
    }
    
    .pim-popup-content {
        margin: 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .pim-form {
        padding: 20px;
    }
    
    .pim-radio-group {
        gap: 8px;
    }
    
    .pim-radio-label {
        padding: 8px 12px;
    }
}
