/* Frontend Styles for Road Hazard Insurance Plugin */

.rhi-insurance-info,
.rhi-insurance-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rhi-insurance-info h2,
.rhi-insurance-form h2 {
    color: #333;
    margin-bottom: 20px;
}

.rhi-content,
.rhi-bank-info {
    margin-bottom: 20px;
}

.rhi-proceed-button {
    text-align: center;
    margin-top: 30px;
}

.rhi-proceed-btn {
    background: #007cba;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

.rhi-proceed-btn:hover {
    background: #005a87;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group button {
    background: #007cba;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-group button:hover {
    background: #005a87;
}

#rhi-form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
}

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

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