/* Form Message Styling */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    display: none;
}

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

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

/* Button Loading State */
.btn-primary {
    position: relative;
}

.btn-primary .button-loader {
    margin-right: 8px;
}

.btn-primary .button-text {
    transition: opacity 0.3s ease;
}

.btn-primary.loading .button-text {
    opacity: 0.7;
}

.btn-primary.loading .button-loader {
    display: inline-block !important;
}

/* Form Group Focus */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

/* Required Field Indicator */
.form-group label.required:after {
    content: ' *';
    color: #dc3545;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .btn-primary {
        width: 100%;
        padding: 12px;
    }
}
