/* assets/css/style.css */
:root {
    --primary: #3f51b5;
    --secondary: #6c757d;
    --success: #4caf50;
    --info: #2196f3;
    --warning: #ff9800;
    --danger: #f44336;
    --light: #f8f9fa;
    --dark: #343a40;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fe;
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 100;
}

.sidebar .nav-link {
    color: #333;
    border-radius: 0;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s;
    position: relative;
}

.sidebar .nav-link.active, 
.sidebar .nav-link:hover {
    color: var(--primary);
    background-color: rgba(63, 81, 181, 0.1);
    border-left: 4px solid var(--primary);
}

.sidebar .nav-link.active {
    font-weight: 600;
}

/* Main content */
.main-content {
    padding: 1.5rem;
    transition: all 0.3s;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.card-title {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

/* Buttons */
.btn {
    border-radius: 5px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #303f9f;
    border-color: #303f9f;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

/* Tables */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    background-color: rgba(63, 81, 181, 0.1);
    color: var(--primary);
    font-weight: 600;
    border: none;
}

.table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
    background-color: rgba(63, 81, 181, 0.05);
}

/* Forms */
.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 0.6rem 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(63, 81, 181, 0.25);
}

/* Custom classes */
.stats-card {
    background: linear-gradient(135deg, #3f51b5 0%, #5c6bc0 100%);
    color: white;
}

.stats-card .card-body {
    padding: 1.5rem;
}

.stats-card .icon {
    font-size: 2.5rem;
    opacity: 0.6;
}

.top-performer {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
}

.badge-primary {
    background-color: var(--primary);
    color: white;
}

.puntaje-input {
    width: 70px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100%;
        z-index: 1000;
        transition: left 0.3s;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
}

/* Jesus quote styling */
.bible-quote {
    font-style: italic;
    font-size: 0.9rem;
    color: #777;
    padding: 0.5rem;
    border-left: 3px solid var(--primary);
    margin: 1rem 0;
}

/* Christian theme elements */
.church-icon {
    color: var(--primary);
}

.verse-reference {
    font-size: 0.8rem;
    color: #777;
    font-style: italic;
}

/* Highlight current date (Saturday) */
.current-sabbath {
    background-color: rgba(63, 81, 181, 0.1);
    font-weight: bold;
}

/* animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Logo styling */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.logo-container img {
    max-width: 50px;
    margin-right: 10px;
}