body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.header {
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    color: white;
    padding: 30px 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.logo {
    max-height: 80px;
    margin-bottom: 15px;
}

.form-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid #e3e6f0;
}

.result-container {
    display: none;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    padding: 40px;
    margin-top: 20px;
    border: 1px solid #e3e6f0;
    animation: fadeIn 0.5s ease-in;
}

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

.btn-primary {
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #002244 0%, #003366 100%);
}

.btn-outline-primary {
    border-color: #003366;
    color: #003366;
}

.btn-outline-primary:hover {
    background-color: #003366;
    border-color: #003366;
}

.footer {
    background: linear-gradient(135deg, #003366 0%, #002244 100%);
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.egresado-card {
    border-left: 5px solid #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
}

.alert-success {
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.alert-danger {
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #f8d7da 0%, #f1b0b7 100%);
}

.table th {
    background-color: #003366;
    color: white;
    border: none;
}

.table td {
    border-color: #dee2e6;
}

.badge {
    font-size: 0.9em;
    padding: 8px 15px;
    border-radius: 20px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .form-container, .result-container {
        padding: 20px;
        margin: 10px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
}