/* Light Mode Global Colors */
body[data-bs-theme="light"] { 
    --bs-body-bg: #f8f9fa;
    --bs-body-color: #212529;
    --bs-card-bg: #ffffff;
    --bs-card-border: rgba(0, 0, 0, 0.1);
    --bs-primary: #007bff;
    --bs-footer-bg: #e9ecef;
}

/* Shadow Border for Cards */
body[data-bs-theme="light"] .card {
    background: var(--bs-card-bg);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-card-border);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1); /* Same depth as dark mode */
}

/* Ensure footer stays at bottom */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

body[data-bs-theme="light"] .footer {
    background: var(--bs-footer-bg);
    color: #495057;
    padding: 10px;
    text-align: center;
}


/* Light Mode Forms */
body[data-bs-theme="light"] .form-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    margin: auto;
}

body[data-bs-theme="light"] .form-container h1 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

body[data-bs-theme="light"] .input-group {
    margin-bottom: 15px;
}

body[data-bs-theme="light"] label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

body[data-bs-theme="light"] input,
body[data-bs-theme="light"] textarea,
body[data-bs-theme="light"] select {
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

body[data-bs-theme="light"] input:focus {
    border-color: #007bff;
    box-shadow: 0px 0px 8px rgba(0, 123, 255, 0.2);
    outline: none;
}

body[data-bs-theme="light"] a {
    text-decoration: none; /* Removes underline from all links */
}

body[data-bs-theme="light"] .btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.3s ease-in-out;
}

body[data-bs-theme="light"] .btn-primary:hover {
    background-color: #0056b3;
}

body[data-bs-theme="light"] .btn-secondary {
    background-color: transparent;
    color: #007bff;
    font-weight: 600;
    border: 1px solid #007bff;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

body[data-bs-theme="light"] .btn-secondary:hover {
    background-color: #007bff;
    color: white;
}




body[data-bs-theme="light"] .form-footer {
    text-align: center;
    margin-top: 15px;
}
.sticky-heading {
    position: sticky;
    top: 0;
    background-color: #f8f9fa; /* card background or white */
    padding: 5px;
    margin: 0;
    z-index: 1;
    border-bottom: 1px solid #ccc;
}
.chapter-item a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: #007bff;
}
.chapter-item a:hover {
    background-color: #e9ecef;
    text-decoration: none;
}
/* Ensure button area aligns with enclosure */
.tab-content-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 97%;
    
    padding: 15px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin: auto;
}
/* Active tab styling */
.nav-tabs .nav-link.active {
   
    color: #333;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.nav-tabs .nav-link {
    width: 100%;
    border: none;
    transition: background-color 0.3s ease-in-out;
    font-weight: bold;
    color: darkgrey;
    padding: 12px 0;
  
}
.logo-container {
    display: block;
    width: 100px;  /* Adjust size as needed */
    height: 89px;  /* Adjust size as needed */
    background: url('/assets/logo_light_mobile.png') no-repeat center center;
    background-size: contain;
}



