:root > * {
    --md-primary-fg-color:        #000000;
    --md-primary-fg-color--light: #8b8b8b;
    --md-primary-fg-color--dark:  #3f3f3f;
    --md-primary-bg-color: #ffffff;
    --md-default-bg-color: #ffffff;
    --md-default-fg-color--light:#f35529;
    --md-default-bg-color--hl:#ffffff;
    --md-default-fg-color--hl:#790f0f;
    --md-code-bg-color: #f5f5f5;
    --md-code-hl-function-color: #9829c4;
    --md-typeset-table-sort-icon: none;
}

/* ========================================
   TYPOGRAPHY - BASE
   ======================================== */

.md-typeset h1 {
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.2;
}

.md-typeset h2 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--md-default-fg-color--hl);
    background-color: var(--md-default-bg-color--hl);
    margin-bottom: 0.5rem !important;
    margin-top: 0.5rem !important;
}

.md-typeset h3 {    
    font-size: 1.2em;
    font-weight: 600;
    color: var(--md-default-fg-color--hl);
    background-color: var(--md-default-bg-color--hl);
}

.md-typeset h4 {
    font-size: 1.2em;
    font-weight: 300;
    background-color: var(--md-default-bg-color--hl);
}

.md-typeset h5 {
    font-size: 1.3em;
    font-weight: 300;
    color: var(--md-primary-fg-color--dark);
    text-transform: none;
    line-height: 1.8;
    font-style: italic !important;
}

.md-typeset {
    font-size: 1.35em;
    font-weight: 100;
    line-height: 1.2;
}

.md-typeset mark {
    font-size: 1.5em;
    font-weight: 200;
    background-color: var(--md-default-bg-color--hl);
}

.md-typeset blockquote {
    color: #96aac4;
}

.md-typeset .admonition,
.md-typeset details {
  border-width: 0;
  border-left-width: 4px;
}

/* ========================================
   TABLES
   ======================================== */

.md-typeset table {
    font-size: 0.9em;
    line-height: 1.3;
    border-collapse: collapse;
    text-align: center;
    vertical-align: middle;
}

.md-typeset table th {
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.4;
    padding: 0.5em;
}

.md-typeset table td {
    font-size: 0.9em;
    line-height: 1.3;
    padding: 0.5em;
}

/* DISABLE ALL HOVER EFFECTS */
.md-typeset table,
.md-typeset table *,
.md-typeset table *::before,
.md-typeset table *::after {
    transition: none !important;
    animation: none !important;
}

.md-typeset table tr:hover,
.md-typeset table tr:hover *,
.md-typeset table tbody tr:hover,
.md-typeset table tbody tr:hover *,
.md-typeset table tbody tr:hover td {
    background-color: transparent !important;
    background: none !important;
    background-image: none !important;
    color: inherit !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}

.md-typeset table thead tr:hover,
.md-typeset table thead tr:hover th,
.md-typeset table th:hover,
.md-typeset table thead th:hover {
    background-color: #e8e8e8 !important;
    background: #e8e8e8 !important;
    background-image: none !important;
    color: inherit !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}

.md-typeset table tr:nth-child(odd):hover,
.md-typeset table tr:nth-child(even):hover {
    background-color: inherit !important;
}

.md-typeset table:not([class]) tr:hover {
    background-color: transparent !important;
}

.table-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.note {
    background-color: #fefcbf;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #f6ad55;
}

/* ========================================
   HEADER
   ======================================== */

.md-header {
    height: 3rem !important;
}

.md-logo img {
    height: 1.5rem !important;
    width: auto !important;
}

.md-header__title {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
}

.md-logo {
    margin-right: 0.05rem !important;
}

/* Lock header title */
.md-header__topic {
    position: static !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
}

.md-header__topic + .md-header__topic {
    display: none !important;
}

.md-ellipsis {
    position: static !important;
    transform: none !important;
}

.md-search {
    display: none !important;
}

/* ========================================
   TABS - DESKTOP ONLY
   ======================================== */

/* Default: hide tabs on mobile */
.md-tabs {
    display: none !important;
}

/* Show tabs inline on larger screens */
@media screen and (min-width: 76.25em) {
    .md-tabs {
        display: block !important;
        position: absolute !important;
        top: -0.2rem !important;
        left: 22rem !important;
        height: 2.5rem !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .md-tabs__list {
        display: flex !important;
        align-items: center !important;
        height: 2.5rem !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .md-tabs__link {
        font-size: 0.65rem !important;
        padding: 0rem 0.8rem !important;
        white-space: nowrap !important;
        margin-top: 0.1rem !important;
        line-height: 2.5rem !important;
    }
}

/* ========================================
   SIDEBAR
   ======================================== */

/* Narrow sidebar on desktop only */
@media screen and (min-width: 76.25em) {
  .md-sidebar--primary {
    width: 10rem !important;
  }
  
  .md-content {
    margin-left: 0.5rem !important;
  }
  
  .md-sidebar--primary .md-sidebar__scrollwrap {
    padding-right: 0.5rem;
  }

  .md-nav--primary .md-nav__link {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
  }

  .md-nav--primary .md-nav__title {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}

/* ========================================
   BUTTONS
   ======================================== */

.md-button {
    display: block !important;
    width: fit-content !important;
    margin: 2rem auto !important;
    text-align: center !important;
}

.md-button--primary {
    background-color: #701a00 !important;
    border-color: #ffffff !important;
    color: white !important;
    border-radius: 20px !important; 
}

.md-button--primary:hover {
    background-color: rgb(226, 18, 18) !important;
    border-color: #ffffff !important;
}

/* ========================================
   IMAGES
   ======================================== */

img[src*="002.png"] {
    width: 400px !important;
    height: auto !important;
    max-width: 100% !important;
}

img[src*="001.png"] {
    width: 750px !important;
    height: auto !important;
    max-width: 100% !important;
}

video[src*="Sample.mp4"] {
    box-shadow: 0 0 25px rgba(255, 229, 221, 0.9) !important;
    filter: drop-shadow(0 0 15px rgba(249, 127, 90, 0.6)) !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    max-width: 100% !important;
}

/* ========================================
   MOBILE-SPECIFIC FIXES
   ======================================== */

@media screen and (max-width: 76.25em) {
    /* Reduce overall font sizes on mobile */
    .md-typeset {
        font-size: 1rem !important;
    }
    
    .md-typeset h1 {
        font-size: 1.2em !important;
    }
    
    .md-typeset h2 {
        font-size: 1.1em !important;
    }
    
    .md-typeset h3 {
        font-size: 1em !important;
    }
    
    .md-typeset h4 {
        font-size: 1em !important;
    }
    
    .md-typeset h5 {
        font-size: 1em !important;
    }
    
    .md-typeset mark {
        font-size: 1em !important;
    }
    
    /* Smaller header on mobile */
    .md-header {
        height: 2.5rem !important;
    }
    
    .md-header__title {
        font-size: 0.9rem !important;
    }
    
    .md-logo img {
        height: 1.2rem !important;
    }
    
    /* Better table display on mobile */
    .md-typeset table {
        font-size: 0.75em !important;
        display: block !important;
        overflow-x: auto !important;
    }
    
    .md-typeset table th,
    .md-typeset table td {
        padding: 0.3em !important;
        font-size: 0.85em !important;
    }
    
    /* Ensure content has proper padding */
    .md-content__inner {
        padding: 1rem 0.8rem !important;
    }
    
    /* Make buttons more mobile-friendly */
    .md-button {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }
}

/* Extra small devices (phones in portrait) */
@media screen and (max-width: 48em) {
    .md-typeset {
        font-size: 0.9rem !important;
    }
    
    .md-header__title {
        font-size: 0.8rem !important;
    }
    
    .md-logo img {
        height: 1rem !important;
    }
}

/* ========================================
   MISC
   ======================================== */

.md-content h1:first-of-type {
    display: none !important;
}