/* Modern Card Design */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1.5rem;
}

.card:hover {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,.05);
    padding: 1.25rem 1.5rem;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.card-header i {
    margin-right: 0.5rem;
    color: #4e73df;
}

/* School Info Box */
.school-info-box {
    background-color: #f8f9fc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #4e73df;
}

.school-info-box h2 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #4e73df;
}

.school-info-box p {
    margin-bottom: 0.25rem;
    color: #5a5c69;
}

.school-info-box .badge {
    margin-left: 0.5rem;
}

/* School Logo */
.school-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.school-logo {
    max-width: 100px;
    margin-bottom: 0.5rem;
}

.school-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4e73df;
    margin-bottom: 0.5rem;
}

/* Form Elements */
.form-control {
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d3e2;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

.input-group-text {
    background-color: #f8f9fc;
    border: 1px solid #d1d3e2;
    border-radius: 0.375rem;
}

/* Button Styles */
.btn {
    border-radius: 0.375rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #4e73df;
    border-color: #4e73df;
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2e59d9;
    transform: translateY(-2px);
    box-shadow: 0 0.15rem 1.75rem 0 rgba(46, 89, 217, 0.2);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

/* Help Section */
.help-item {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.help-icon {
    flex: 0 0 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(78, 115, 223, 0.1);
    color: #4e73df;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1rem;
}

.help-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #5a5c69;
}

.help-content p {
    font-size: 0.875rem;
    color: #858796;
    margin-bottom: 0;
}

/* Whatsapp link */
.whatsapp-link {
    color: #25D366;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-link:hover {
    color: #128C7E;
    transform: translateY(-2px);
}

/* Process Steps */
.process-step {
    display: flex;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex: 0 0 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #4e73df;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
}

.step-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #5a5c69;
}

.step-content p {
    font-size: 0.875rem;
    color: #858796;
    margin-bottom: 0;
}

/* Alert Styles */
.alert {
    border-radius: 0.375rem;
    padding: 1rem 1.25rem;
    border: none;
    margin-bottom: 1.5rem;
}

.alert-info {
    background-color: rgba(54, 185, 204, 0.1);
    color: #36b9cc;
    border-left: 4px solid #36b9cc;
}

.alert-danger {
    background-color: rgba(231, 74, 59, 0.1);
    color: #e74a3b;
    border-left: 4px solid #e74a3b;
}

.alert-warning {
    background-color: rgba(246, 194, 62, 0.1);
    color: #f6c23e;
    border-left: 4px solid #f6c23e;
}

/* Form Check */
.form-check-input:checked {
    background-color: #4e73df;
    border-color: #4e73df;
}

.form-check-label {
    font-weight: 500;
    padding-left: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: #4e73df;
}

.breadcrumb-item.active {
    color: #858796;
}

/* Layout */
#layoutAuthentication {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#layoutAuthentication_content {
    flex-grow: 1;
}

/* Maintenance Container */
.maintenance-container {
    padding: 2rem;
    text-align: center;
}

.maintenance-container i {
    color: #4e73df;
    margin-bottom: 1rem;
}

.maintenance-container h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .school-info-box {
        padding: 1rem;
    }
    
    .school-logo-container {
        margin-top: 1rem;
        text-align: center;
    }
    
    .help-item, .process-step {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

/* Footer */
footer {
    background-color: #f8f9fc;
    border-top: 1px solid rgba(0,0,0,.05);
    padding: 1rem 1.5rem;
}
