﻿html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px; /* keep if you have a footer */
}

/* Focus styles */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem #258cfb;
}

/* Mild blue background only for Login page */
.bg-lightblue {
    background-color: #90caf9 !important; /* brighter sky blue */
}
.dashboard-cards-container {
    margin: 0 auto;
    padding-left: 5rem !important;
    padding-right: 5rem !important;
}

    /* Adjust card overlap with violet header */
    .dashboard-cards-container main {
        margin-top: -5rem !important;
    }

main.mt-n7 {
    margin-top: -5rem !important; /* move cards up */
}
/* Make the action column centered and tidy */
td.text-center, th.text-center {
    text-align: center !important;
    vertical-align: middle !important;
}

    /* Tighten spacing between action buttons */
    td.text-center .btn {
        margin: 0 3px;
    }

.unit-header {
    background-color: #f4f7fb; /* light blue */
    border-color: #dee2e6;
    font-size: 15px;
}

.unit-body {
    background-color: #ffffff;
}

.chapter-card {
    background-color: #ffffff;
    border-color: #e5e7eb;
    transition: all 0.2s ease-in-out;
}

    .chapter-card:hover {
        background-color: #f8fafc;
        transform: scale(1.01);
    }

.unit-block {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

