:root {
  /* Aura Learning palette — Bootstrap "info" family */
  --brand-primary: #0eaccc;      /* Bootstrap info */
  --brand-primary-dark: #0aa2c0; /* darker info for hover/contrast */
  --brand-light: #e7f9fd;
  --brand-text-on-info: #055160; /* dark teal for readable text on light info bg */
}

body {
  font-family: Cambria, Georgia, serif;
  background-color: #f8f9fc;
  color: #1f2937;
}

.app-navbar {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-primary-dark));
}
.hero-section {
  background: linear-gradient(135deg, var(--brand-primary), #128fa2);
}

/* .hero-section{
    background:linear-gradient(135deg,#0d6efd,#6610f2);
} */

.course-card{
    transition:.3s;
    border-radius:15px;
}

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

.card img{
    border-top-left-radius:15px;
    border-top-right-radius:15px;
}

.progress{
    height:10px;
}

.progress-bar{
    font-weight:bold;
}

.btn{
    border-radius:10px;
}

.badge{
    font-size:.75rem;
}
.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-text-on-info);
  font-weight: 600;
}
.btn-primary:hover {
  background-color: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  color: #fff;
}
.btn-outline-primary {
  color: var(--brand-primary-dark);
  border-color: var(--brand-primary);
}
.btn-outline-primary:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-text-on-info);
}

/* Camera monitor widget (see script.js) */
.proctor-widget { position: fixed; bottom: 20px; right: 20px; width: 180px; z-index: 1085; border: 3px solid var(--brand-primary); border-radius: 10px; overflow: hidden; background:#000; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.proctor-widget video { width: 100%; display: block; }
.proctor-badge { font-size: .7rem; padding: 3px 6px; background: var(--brand-primary); color: var(--brand-text-on-info); text-align:center; font-weight:600; }
.video-frame-noborder { border: 0; }
/* Hero / search section */
.hero-section {
  background: linear-gradient(135deg, var(--brand-primary), #7c3aed);
}
.search-bar {
  max-width: 900px;
}

/* Auth pages */
.auth-wrapper {
  min-height: calc(100vh - 76px);
  background: linear-gradient(135deg, var(--brand-light), #ffffff);
}
.auth-card {
  border-radius: 1rem;
}

/* Course cards */
.course-card {
  border-radius: 0.9rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.08) !important;
}
.course-card .card-img-top {
  height: 170px;
  object-fit: cover;
}

/* Lessons accordion */
.accordion-button:not(.collapsed) {
  background-color: var(--brand-light);
  color: var(--brand-primary-dark);
}
.accordion-button:focus {
  box-shadow: none;
}
.lesson-visual {
  display: block;
  width: 100%;
  max-height: 310px;
  object-fit: cover;
}
.assessment-card {
  border-top: 4px solid var(--brand-primary) !important;
}
.assessment-question {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

/* Footer */
.app-footer {
  background-color: #fff;
  border-top: 1px solid #eee;
}

/* Buttons */
.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-primary:hover {
  background-color: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
}
.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-outline-primary:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* Fade-in animation for course grid */
.course-card-wrapper {
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
:root {
  /* Aura Learning palette — Bootstrap "info" family */
  --brand-primary: #0eaccc;      /* Bootstrap info */
  --brand-primary-dark: #0aa2c0; /* darker info for hover/contrast */
  --brand-light: #e7f9fd;
  --brand-text-on-info: #055160; /* dark teal for readable text on light info bg */
}

body {
  font-family: Cambria, Georgia, serif;
  background-color: #f8f9fc;
  color: #1f2937;
}

.app-navbar {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-primary-dark));
}
.hero-section {
  background: linear-gradient(135deg, var(--brand-primary), #128fa2);
}

/* .hero-section{
    background:linear-gradient(135deg,#0d6efd,#6610f2);
} */

.course-card{
    transition:.3s;
    border-radius:15px;
}

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

.card img{
    border-top-left-radius:15px;
    border-top-right-radius:15px;
}

.progress{
    height:10px;
}

.progress-bar{
    font-weight:bold;
}

.btn{
    border-radius:10px;
}

.badge{
    font-size:.75rem;
}
.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-text-on-info);
  font-weight: 600;
}
.btn-primary:hover {
  background-color: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  color: #fff;
}
.btn-outline-primary {
  color: var(--brand-primary-dark);
  border-color: var(--brand-primary);
}
.btn-outline-primary:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-text-on-info);
}

/* Camera monitor widget (see script.js) */
.proctor-widget { position: fixed; bottom: 20px; right: 20px; width: 180px; z-index: 1085; border: 3px solid var(--brand-primary); border-radius: 10px; overflow: hidden; background:#000; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.proctor-widget video { width: 100%; display: block; }
.proctor-badge { font-size: .7rem; padding: 3px 6px; background: var(--brand-primary); color: var(--brand-text-on-info); text-align:center; font-weight:600; }
.video-frame-noborder { border: 0; }
/* Hero / search section */
.hero-section {
  background: linear-gradient(135deg, var(--brand-primary), #7c3aed);
}
.search-bar {
  max-width: 900px;
}

/* Auth pages */
.auth-wrapper {
  min-height: calc(100vh - 76px);
  background: linear-gradient(135deg, var(--brand-light), #ffffff);
}
.auth-card {
  border-radius: 1rem;
}

/* Course cards */
.course-card {
  border-radius: 0.9rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.08) !important;
}
.course-card .card-img-top {
  height: 170px;
  object-fit: cover;
}

/* Lessons accordion */
.accordion-button:not(.collapsed) {
  background-color: var(--brand-light);
  color: var(--brand-primary-dark);
}
.accordion-button:focus {
  box-shadow: none;
}
.lesson-visual {
  display: block;
  width: 100%;
  max-height: 310px;
  object-fit: cover;
}
.assessment-card {
  border-top: 4px solid var(--brand-primary) !important;
}
.assessment-question {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

/* Footer */
.app-footer {
  background-color: #fff;
  border-top: 1px solid #eee;
}

/* Buttons */
.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-primary:hover {
  background-color: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
}
.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-outline-primary:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* Fade-in animation for course grid */
.course-card-wrapper {
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ==========================================================
   MODERN APPLICATION ALERT
========================================================== */

.app-alert-dialog {
    max-width: 410px;
    padding: 16px;
}

.app-alert {
    position: relative;
    border: 1px solid #edf0f2;
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;

    box-shadow:
        0 24px 60px rgba(24, 45, 52, 0.16),
        0 4px 12px rgba(24, 45, 52, 0.06);
}

.app-alert .modal-body {
    padding: 32px 32px 28px;
    text-align: left;
}

/* CLOSE BUTTON */

.app-alert-close {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 8px;

    background: #f5f7f8;
    color: #849197;

    font-size: 13px;

    cursor: pointer;
    transition: all .2s ease;
}

.app-alert-close:hover {
    background: #edf1f2;
    color: #344950;
}

/* ICON */

.app-alert-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    background: #eaf8fb;
    color: #0aa5bf;

    font-size: 22px;
}

/* TITLE */

.app-alert h4 {
    margin: 0 0 8px;

    color: #1d333b;

    font-size: 20px;
    font-weight: 700;

    letter-spacing: -0.3px;
}

/* MESSAGE */

.app-alert p {
    margin: 0 0 25px;

    color: #6f7f85;

    font-size: 14px;
    line-height: 1.6;
}

/* ACTION */

.app-alert-action {
    width: 100%;
    height: 44px;

    border: 0;
    border-radius: 10px;

    background: #0aa5bf;
    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .1s ease;
}

.app-alert-action:hover {
    background: #078fa6;
}

.app-alert-action:active {
    transform: scale(.98);
}

/* ==========================================================
   TYPES
========================================================== */

/* SUCCESS */

.app-alert-icon.success {
    background: #eaf8ef;
    color: #239b56;
}

/* ERROR */

.app-alert-icon.error {
    background: #fff0f1;
    color: #dc4c5a;
}

/* WARNING */

.app-alert-icon.warning {
    background: #fff7e8;
    color: #e99a13;
}

/* INFO */

.app-alert-icon.info {
    background: #eaf8fb;
    color: #0aa5bf;
}

/* BACKDROP */

.modal-backdrop.show {
    opacity: .48;
}

/* MOBILE */

@media (max-width: 576px) {

    .app-alert-dialog {
        max-width: none;
        margin: 16px;
        padding: 0;
    }

    .app-alert .modal-body {
        padding: 28px 24px 24px;
    }
}

/* ==========================================================
   PREMIUM APPLICATION NOTIFICATION
========================================================== */

.app-notification-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;
    align-items: flex-start;
    justify-content: center;

    padding-top: 110px;

    background: rgba(15, 31, 37, 0.38);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.app-notification-overlay.show {
    display: flex;
}


/* Notification */

.app-notification {
    position: relative;

    width: min(470px, calc(100% - 32px));

    display: flex;

    background: rgba(255, 255, 255, 0.98);

    border: 1px solid rgba(255,255,255,.8);
    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(15, 31, 37, .22),
        0 8px 25px rgba(15, 31, 37, .10);

    animation: notificationEnter .28s ease-out;
}


/* Small accent */

.notification-accent {
    width: 4px;
    flex-shrink: 0;
    background: #e99a13;
}


/* Icon area */

.notification-icon-wrap {
    padding: 24px 0 24px 22px;
}

.notification-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #fff6e5;
    color: #e99a13;

    font-size: 18px;
}


/* Content */

.notification-content {
    flex: 1;
    min-width: 0;

    padding: 22px 22px 22px 16px;
}


/* Top */

.notification-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 5px;
}

.notification-label {
    color: #a87518;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.2px;
}


/* Close */

.notification-close {
    width: 28px;
    height: 28px;

    margin-top: -8px;
    margin-right: -8px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: #8d9a9f;

    cursor: pointer;

    transition: .2s ease;
}

.notification-close:hover {
    background: #f2f5f6;
    color: #263b43;
}


/* Heading */

.notification-content h3 {
    margin: 0 0 6px;

    color: #1d333b;

    font-size: 17px;
    font-weight: 700;

    letter-spacing: -.2px;
}


/* Message */

.notification-content p {
    margin: 0;

    color: #6e7e84;

    font-size: 13px;
    line-height: 1.55;
}


/* ==========================================================
   TYPES
========================================================== */

.app-notification.warning .notification-accent {
    background: #e99a13;
}

.app-notification.warning .notification-icon {
    background: #fff6e5;
    color: #e99a13;
}


.app-notification.error .notification-accent {
    background: #dc5360;
}

.app-notification.error .notification-icon {
    background: #fff0f2;
    color: #dc5360;
}


.app-notification.success .notification-accent {
    background: #28a66a;
}

.app-notification.success .notification-icon {
    background: #eaf8f1;
    color: #28a66a;
}


.app-notification.info .notification-accent {
    background: #0aa5bf;
}

.app-notification.info .notification-icon {
    background: #e9f8fb;
    color: #0aa5bf;
}


/* ==========================================================
   ANIMATION
========================================================== */

@keyframes notificationEnter {

    from {
        opacity: 0;
        transform: translateY(-15px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 576px) {

    .app-notification-overlay {
        padding-top: 75px;
    }

    .notification-icon-wrap {
        padding-left: 17px;
    }

    .notification-content {
        padding-right: 17px;
    }
}