/* Corporate Style Enhancement CSS */

/* Global typography improvements */
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Form enhancements */
.form-container {
    position: relative;
}

.form-control, .form-select {
    font-size: 0.95rem;
}

.form-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Form group spacing */
.form-group {
    margin-bottom: 1.25rem;
}

/* Custom checkbox styling */
.form-check-input {
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, 0.25);
    appearance: none;
}

.form-check-input:checked {
    background-color: #6E3FB0;
    border-color: #6E3FB0;
}

/* Asterisk styling for required fields */
.asteriskField {
    color: #dc3545;
    margin-left: 0.2rem;
}

/* Crispy forms enhancements */
.invalid-feedback {
    font-size: 0.85rem;
    color: #dc3545;
}

.valid-feedback {
    font-size: 0.85rem;
    color: #28a745;
}

/* Additional responsive utility classes */
@media (max-width: 767.98px) {
    .text-md-center {
        text-align: center !important;
    }
    
    .mb-md-3 {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 575.98px) {
    .text-sm-center {
        text-align: center !important;
    }
    
    .mb-sm-2 {
        margin-bottom: 0.5rem !important;
    }
}

/* Animation for form elements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Staggered animations for multiple form elements */
.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

/* Professional button styles */
.btn-primary {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #6E3FB0;
    border-color: #6E3FB0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form section spacing */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Custom shadow utilities */
.shadow-sm-hover:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-hover:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg-hover:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
