/* Umoja Educational Tuition Centre - Custom Styles */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

body {
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 50%, #334155 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card {
    border-radius: 15px;
    border: none;
    margin-top: 20px;
    overflow: hidden;
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
    padding: 20px 25px;
}

.card-body {
    padding: 30px;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    font-weight: 600;
    padding: 14px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    transform: none;
    box-shadow: none;
}

.btn-success {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border: none;
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: none;
}

.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
}

.badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.badge-success {
    background: #27ae60;
    color: white;
}

.card-icons {
    font-size: 24px;
    margin: 5px 0;
}

.card-icons i {
    margin: 0 5px;
    opacity: 0.7;
}

.card-icons i:hover {
    opacity: 1;
}

.footer {
    margin-top: 50px;
    padding: 20px 0;
    background: transparent !important;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
    
    body {
        background: white !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .card-body {
        padding: 20px;
    }
    
    .card-header {
        padding: 15px 20px;
    }
    
    .btn {
        padding: 10px 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.6s ease-out;
}

/* Custom Checkbox */
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #667eea;
    border-color: #667eea;
}

/* Terms Modal */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-radius: 15px 15px 0 0;
}