/* Estilos Personalizados para Glove LMS */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Sidebar Admin */
.sidebar {
    box-shadow: 2px 0 5px rgba(0,0,0,.1);
}

.sidebar .nav-link {
    padding: .75rem 1rem;
    border-radius: 5px;
    margin: 5px 10px;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.sidebar .nav-link.active {
    background-color: rgba(255,255,255,0.2);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

/* Buttons */
.btn {
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

/* Forms */
.form-control, .form-select {
    border-radius: 5px;
    border: 1px solid #dee2e6;
    padding: .6rem .75rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

/* Alerts */
.alert {
    border-radius: 5px;
    border: none;
}

/* Tables */
.table {
    border-radius: 5px;
    overflow: hidden;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Badges */
.badge {
    padding: .35rem .65rem;
    font-weight: 500;
}

/* Login/Register Pages */
.min-vh-100 {
    min-height: 100vh;
}

/* Dashboard Stats Cards */
.card.bg-primary,
.card.bg-success,
.card.bg-info,
.card.bg-warning {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: relative !important;
        height: auto !important;
    }
    
    main {
        margin-left: 0 !important;
    }
}

/* Video Container */
.ratio {
    border-radius: 10px;
    overflow: hidden;
}

/* Dropdown Menu */
.dropdown-menu {
    border-radius: 5px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

/* Notification Badge */
.badge.bg-danger {
    position: relative;
    top: -2px;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
