/* Custom CSS for LMS */

/* Global styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

.container {
    flex: 1;
}

/* Course card styles */
.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.course-card .card-img-top {
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Full card clickable link styling */
.course-card a {
    color: inherit;
    text-decoration: none;
}

.course-card a:hover {
    color: inherit;
    text-decoration: none;
}

/* Ensure text colors remain proper when card is wrapped in link */
.course-card .text-dark {
    color: #212529 !important;
}

.course-card .text-muted {
    color: #6c757d !important;
}

/* Admin dashboard */
.dashboard-stat {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dashboard-stat .stat-number {
    font-size: 2rem;
    font-weight: bold;
}

.dashboard-stat .stat-title {
    font-size: 1rem;
    color: #6c757d;
}

/* Auth forms */
.auth-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Course content */
.course-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-sidebar {
    position: sticky;
    top: 20px;
}
