/* Reset and base */
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css);

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
        Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: clamp(14px, 1.2vw, 18px);
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #f3f4f6, #d1d5db);
    color: #111827;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus,
button:focus {
    outline: 2px solid #6366f1;
    outline-offset: 3px;
}

ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    padding: 0;
}


/* Custom scrollbar for dropdown and mobile nav */
.dropdown-menu,
.nav-list-active {
    scrollbar-width: thin;
    scrollbar-color: #a5b4fc transparent;
}

.dropdown-menu::-webkit-scrollbar,
.nav-list-active::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.dropdown-menu::-webkit-scrollbar-thumb,
.nav-list-active::-webkit-scrollbar-thumb {
    background-color: #a5b4fc;
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: content-box;
}

/* Reduced motion for prefers-reduced-motion users */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.img-desc-section {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin: 40px auto;
    max-width: 1000px;
    padding: 24px 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  }
  .img-desc-section img {
    width: 220px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .desc-kanan {
    flex: 1;
  }
  @media (max-width: 700px) {
    .img-desc-section {
      flex-direction: column;
      align-items: center;
      gap: 16px;
      padding: 12px 4px;
    }
    .img-desc-section img {
      width: 100%;
      max-width: 320px;
    }
    .desc-kanan {
      width: 100%;
    }
  }

@media screen and (max-width: 1024px) {
  body, html {
    font-size: 15px;
  }
  .container, .main {
    padding: 0 10px;
  }
  h1, h2, h3 {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 768px) {
  body, html {
    font-size: 14px;
  }
  .container, .main {
    padding: 0 4px;
  }
  h1, h2, h3 {
    font-size: 1.1em;
  }
  .sidebar {
    width: 100% !important;
    position: static !important;
    min-width: unset !important;
  }
  .main {
    margin-left: 0 !important;
  }
  .table-container, table {
    overflow-x: auto;
    display: block;
    width: 100%;
  }
  .btn, button, input[type=submit] {
    font-size: 1em;
    padding: 8px 12px;
  }
}

@media screen and (max-width: 480px) {
  body, html {
    font-size: 13px;
  }
  h1, h2, h3 {
    font-size: 1em;
  }
  .container, .main {
    padding: 0 2px;
  }
  .btn, button, input[type=submit] {
    font-size: 0.95em;
    padding: 7px 8px;
  }
  .table-container, table {
    font-size: 0.95em;
  }
}

.container, .main {
  max-width: 100vw;
  box-sizing: border-box;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  max-width: 100vw;
  width: 100%;
  overflow-x: auto;
  display: block;
}
.section, .row, .col-md-8, .col-md-offset-2, .col-xs-7, .col-xs-5, .col-sm-4, .col-sm-offset-1, .col-md-4, .col-md-offset-1 {
  box-sizing: border-box;
}