/* Estilos Minimalistas - Plexsys Sistema de Diplomas */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 8px;
    --box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--dark-color);
    background-color: #ffffff;
}

/* NAVEGACIÓN */
.navbar {
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-size: 1.25rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* BOTONES */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* HERO SECTION */
.hero-section {
    background-color: var(--light-color);
    border-bottom: 1px solid #e9ecef;
}

.hero-section h1 {
    color: var(--dark-color);
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.1rem;
}

/* FEATURE CARDS */
.feature-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-2px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
}

/* STEP CIRCLES */
.step-circle {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

/* FORMS */
.form-control {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 0.625rem 0.875rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* AUTH PAGES */
.auth-body {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    max-width: 450px;
    width: 100%;
    overflow: hidden;
}

.auth-header {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.auth-body-content {
    padding: 2rem;
}

/* DASHBOARD SPECIFIC */
.dashboard-card {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.2s;
}

.dashboard-card:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-2px);
}

.stat-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}

/* ALERTS */
.alert {
    border: none;
    border-radius: var(--border-radius);
}

.alert-info {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0b5ed7;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* BADGES */
.badge {
    border-radius: 4px;
    font-weight: 500;
}

/* FOOTER */
footer {
    background-color: #ffffff;
    padding: 2rem 0;
}

footer p, footer a {
    color: var(--secondary-color);
}

footer a {
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary-color);
}

/* UTILITIES */
.text-muted {
    color: var(--secondary-color) !important;
}

.border-bottom {
    border-bottom: 1px solid #e9ecef !important;
}

.border-top {
    border-top: 1px solid #e9ecef !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .auth-card {
        margin: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
    }
}

/* ANIMATIONS */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: slideIn 0.4s ease-out;
}

/* ADDITIONAL FORM STYLES FOR LOGIN */
.input-group {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.2s;
}

.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
}

.input-group-text {
    background-color: #f8f9fa !important;
    border: none !important;
    border-right: 1px solid #e9ecef !important;
    color: var(--secondary-color);
}

.form-control, .btn-toggle-pass {
    background-color: transparent !important;
    border: none !important;
}

.form-control:focus {
    box-shadow: none !important;
}

.btn-toggle-pass {
    color: #adb5bd;
}

.btn-toggle-pass:hover {
    color: var(--primary-color);
}

/* CARD STYLES */
.card {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid #e9ecef;
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
}

.list-group-item:last-child {
    border-bottom: none;
}