html, body {
    background-color: #25282C;
    color: #fff;
}

#main {
    background-color: transparent;
    color: #fff;
}

html, body, #main h1, #main h2, #main h3 {
    color: #fff;
}

.article-content h1, .article-content h2, .article-content h3, #editor-container h1, #editor-container h2, #editor-container h3 {
    color: #000 !important;
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: 5px;
    scrollbar-color: #f9f9fa transparent;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 5px;
  }

  *::-webkit-scrollbar-track {
    background: transparent;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #f9f9fa;
    border-radius: 4px;
  }

#header {
    height: 70px;
    width: 100%;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(54, 57, 46, 0.57);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: top 0.3s, background 0.3s;
}

.navbar.navbar--hidden {
    top: -80px;
}

.navbar.navbar--opaque {
    background: #16191d;
    backdrop-filter: none;
}

.navbar a {
    color: #fff;
    opacity: 0.7;
    transition: 0.3s;
}

.navbar .active {
    opacity: 1;
}

.navbar .active::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 10px;
    width: 30px;
    height: 1px;
    background-color: #ffffff;
}

.navbar a:hover {
    color: #fff;
    opacity: 1;
}

.navbar #navbarBasicExample {
    background-color: transparent;
    color: #fff;
    border-radius: 0 0 4px 4px;
}

.navbar .navbar-start {
    margin-top: auto;
    margin-bottom: auto;
}

.navbar .navbar-start .navbar-item {
    background-color: none;
    margin-top: 10px;
    border-radius: 4px;
}

.navbar .navbar-start .navbar-item:hover,
.navbar .navbar-start .navbar-item:focus,
.navbar .navbar-start .navbar-item:focus-within {
    background-color: #363636;
    color: #fff;
}

.navbar .navbar-end .user-name {
    margin-left: 10px;
    color: #fffded8a;
}

#main {
    margin-top: 90px;
    width: 100%;
}

.is-really-small {
    font-size: 0.60rem;
}

.box {
    border-radius: 4px;
}

.box, #custTable {
    background-color: #f9f9fa;
}


#formLogin {
    width: 40%;
}

.field-right {
    width: 100%;
}

#exportBox {
    padding: 1.25rem !important;
}

#logoImg {
    max-width: 300px;
    height: auto;
}

#app-panel .card {
    background-color: #f9f9fa;
    max-height: 300px;
    width: 300px;
    max-width: 300px;
    margin: 30px 0;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

#app-panel .card:hover .svg {
    transform: scale(1.05);
}

#app-panel .svg {
    margin-bottom: 20px;
    transition: 0.3s;
}

#app-panel .svg svg {
    height: 50px;
    width: auto;
    margin: 0;
}

.box-create {
    max-width: 1200px;
}

.list-select {
    visibility: hidden;
    position: absolute;
    background-color: #363636;
    color: #ffffff;
    margin-top: -16px;
    max-height: 250px;
    min-width: 30%;
    overflow: auto;
    z-index: 5;
}

.list-select .card-content {
    padding-left: 0;
    padding-right: 0;
}

.list-select p {
    padding: 10px 20px;
    margin-bottom: 0 !important;
}

.list-select p:hover {
    background-color: #575757ad;
    cursor: pointer;
}

#myForm h2 {
    color: #000 !important;
}

#myForm input:required {
    background-color: #ffeda157;
}

.notification ul {
    margin: 0;
    margin-left: 10px;
}

.loader-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #25282C;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loader-overlay h1 {
  color: white;
}

/* Button style overwrite */

.button.is-link, .pagination-link.is-current, .button.is-loading {
    background-color: #3E8ED0;
    border-color: #3E8ED0;
}

.button.is-link:hover {
    background-color: #2c6da3;
}

/* end button style */

/* Switch button style */

.l-radio {
    padding: 6px;
    border-radius: 50px;
    display: inline-flex;
    cursor: pointer;
    transition: background 0.2s ease;
    /* margin: 8px 0; */
    -webkit-tap-highlight-color: transparent;
  }
  .l-radio:hover, .l-radio:focus-within {
    background: rgba(159, 159, 159, 0.1);
  }
  .l-radio input {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background: none;
    border: 0;
    box-shadow: inset 0 0 0 1px #3E56C4;
    box-shadow: inset 0 0 0 1.5px #3E56C4;
    appearance: none;
    padding: 0;
    margin: 0;
    transition: box-shadow 150ms cubic-bezier(0.95, 0.15, 0.5, 1.25);
    pointer-events: none;
  }
  .l-radio input:focus {
    outline: none;
  }
  .l-radio input:checked {
    box-shadow: inset 0 0 0 6px #3E56C4;
  }
  .l-radio span {
    vertical-align: middle;
    display: inline-block;
    line-height: 20px;
    padding: 0 8px;
  }

/* END Switch button style END */

#helpRehost {
    position: absolute; 
    background: #f7f7f7; 
    border: 1px solid #ddd; 
    padding: 5px; 
    border-radius: 5px; 
    z-index: 1000; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.2s;
    min-width: 300px;
}

@media screen and (min-width: 1024px) {

    #header, .navbar {
        height: 70px;
    }

    .navbar .navbar-start {
        margin-left: 50px;
    }

    .navbar .navbar-start .navbar-item {
        margin-top: 0;
    }

    #app-panel .card {
        margin: 0 20px;
    }
    
}

@media screen and (max-width: 1023px) {
    #app-panel {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
    }
}