html,
body,
button,
input,
select,
textarea {
    font-family: 'Poppins', sans-serif !important;
}

/* Hide only Moodle's default navigation elements, not custom ones */
#page-header,
#page-navbar,
.breadcrumb,
.site-name,
.usertext,
.logininfo {
    display: none !important;
}

/* Remove default body padding/margin */
body {
    margin: 0 !important;
    padding: 0 !important;
      background: #f7f7f7 !important;
}

/* Remove page wrapper padding */
#page-wrapper,
#page {
    padding: 0 !important;
    margin: 0 !important;
}

.logo-container img:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-container img {
        max-height: 60px !important;
    }
}

/* Custom large text class */
.large-text {
    font-size: 1.5rem !important;
}

/* Progress bar styling for course cards */
.progress {
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.3s ease;
    border-radius: 3px;
}

.progress-bar.bg-success {
    background-color: #28a745 !important;
}

/* Course card adjustments for progress bar */
.card-body .progress {
    margin-top: auto;
    margin-bottom: 0.5rem;
}

/* Ensure consistent card height with progress bars */
.card {
    display: flex;
    flex-direction: column;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

