/* ERP Eligibility Checker Styles */

#erp-form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#erp-form {
    margin-bottom: 1.5rem;
}

#erp-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333333;
}

#erp_address {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#erp_address:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.2);
}

#erp-form button {
    background-color: #0073aa;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#erp-form button:hover {
    background-color: #005177;
}

#erp-result {
    margin-top: 1.5rem;
}

.erp-result-box {
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f8f9fa;
}

.erp-result-title {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.25rem;
}

.erp-result-item {
    margin: 0.5rem 0;
    line-height: 1.5;
}

.erp-status-yes {
    color: #28a745;
    font-weight: 600;
}

.erp-status-no {
    color: #dc3545;
    font-weight: 600;
}

.erp-not-found {
    color: #856404;
    font-style: italic;
}

.erp-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

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

.erp-message-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.erp-error {
    color: #dc3545;
    padding: 0.75rem;
    border: 1px solid #dc3545;
    border-radius: 4px;
    background-color: #fff;
    margin-top: 1rem;
}

.erp-loading {
    text-align: center;
    color: #666;
    padding: 1rem;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    #erp-form-container {
        margin: 1rem;
        padding: 1rem;
    }
    
    #erp_address {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}