.sm8-form {
    max-width: 600px;
    margin: 20px 0;
}

.sm8-form .form-group {
    margin-bottom: 15px;
}

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

.sm8-form .required {
    color: red;
}

.sm8-form input[type="text"],
.sm8-form textarea,
.sm8-form select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    display: block;
    box-sizing: border-box;
}

.sm8-form .checkbox-group {
    margin-bottom: 15px;
}

.sm8-form .checkbox-label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.sm8-form .checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    margin-bottom: 0;
}

.sm8-form textarea {
    height: 100px;
    resize: vertical;
}

.sm8-form .submit-btn {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.sm8-form .submit-btn:hover {
    background: #005a87;
}

.sm8-form .submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-top: 10px;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-top: 10px;
}
