/*
 * Business Interest Form Styles
 * Copied from: src/G2.Web.Client/Components/BusinessInterestForm/BusinessInterestExternalCard.razor.css
 */

/* External Link Card Banner Gradient */
.external-banner {
    background: linear-gradient(90deg, #198754, #20c997);
}

/* Required field label indicator */
.form-label.required::after {
    content: " *";
    color: #dc3545;
}

/* Form field styling to match Blazor DevExpress components */
.business-interest-form .form-control,
.business-interest-form .form-select {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    padding: 0.5rem 0.75rem;
}

.business-interest-form .form-control:focus,
.business-interest-form .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Multi-select styling */
.business-interest-form select[multiple] {
    min-height: 120px;
}

/* Textarea styling */
.business-interest-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Warning icon container */
.bg-warning.bg-opacity-10 {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

/* Card shadow styling */
.card.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Form button styling */
.business-interest-form .btn-primary {
    background-color: #6f42c1;
    border-color: #6f42c1;
}

.business-interest-form .btn-primary:hover {
    background-color: #5a329c;
    border-color: #5a329c;
}

/* Success state styling */
.business-interest-success .btn-success {
    background-color: #198754;
    border-color: #198754;
}

.business-interest-success .btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
}

/* Validation error styling */
.text-danger {
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.alert-danger {
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

/* Loading spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bg-primary-slash {
        height: auto !important;
        min-height: 200px;
        padding: 2rem 1rem;
    }
    
    .bg-primary-slash .display-5 {
        font-size: 1.75rem;
    }
    
    .external-banner h3 {
        font-size: 1.25rem;
    }
}
