/**
 * Theme Name: Pokerati
 * Template:   astra
 */

 .mobile-nav { 
    display: none;
}

#quiz-windowshade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.quiz-modal {
    background-color: #8EFBDA;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    box-sizing: border-box;
    overflow-y: auto;
    position: relative;
    padding-top: 2rem;
    font-size: 1rem;
    color: #825AED;
    Font-weight: bold;
}

.quiz-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.quiz-content ul {
    list-style-type: none;
    padding: 0;
}

.quiz-content li {
    margin: 10px 0;
}

.quiz-content button {
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 1.25rem;
    cursor: pointer;
    color: white;
    background-color: #825AED;
}

#quiz-questions {
    flex-direction: column;
    align-items: flex-start;
    float: left; 
}

.quiz-button {
    display:flex;
    align-items: center;
    gap: 0.5em;
    width: 250px;
}

.quiz-abc {
    background-color: white;
    color: black;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;   /* make the span a flex container */
    align-items: center;    /* vertical centering */
    justify-content: center;/* horizontal centering */
    Font-size: 1.25rem;
}

#close-popup {
    background: transparent;
    border-color: transparent;
    color: #825AED;
    position: absolute;
    top: 0;
    Right:0;
    
}

.progress-container {
    width: 100%;              /* full-width parent */
    background-color: #eee;   /* track color */
    border-radius: 5px;       /* rounded ends */
    overflow: hidden;         /* clip the bar */
    height: 10px;             /* fixed height */
    margin-bottom: 1.5rem;
}

.streak-container {
  display: block;
  margin-bottom: 1rem; 
}
    
.progress-bar {
    height: 100%;             /* fill container height */
    width: 0%;                /* updated by JS or inline style */
    background-color: #825AED;/* fill color */
    transition: width 0.2s ease-in-out;
}

.countdown {
  display: flex;
  gap: 1rem;               /* space between the boxes */
}

.time-box {
  display: flex;
  color: black;
  flex-direction: column;  /* stack value, line, label */
  align-items: center;
  padding: 0.5rem 0.75rem;
  border: 2px solid #825AED;
  border-radius: 6px;
  width: 4.5rem;           /* adjust so your numbers fit */
}

.time-value {
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid #825AED;  /* the “line here” */
  width: 100%;
  text-align: center;
}

.time-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: black;
  letter-spacing: 0.05em;
}

#correct-answer-btn {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

#countdown {
    margin-top: 1rem;
}

#quiz-result-message {
    color: black;
}

#quiz-answer h3 {
    color: #825AED;
}

#quiz-answer p {
    color: black;
}


/* Mobile responsiveness for quiz content */
@media (max-width: 768px) {
    .quiz-content {
        width: 80%;
    }
}

@media only screen and (min-width:320px) and (max-width:768px){
    .mobile-nav {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 60px;
        box-sizing: border-box;
        padding: 10px;
        background: black;
        color: white;
    }
    .mobile-nav ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
        display: flex;
	align-items: center;
	height: 100%;
    }
    .mobile-nav ul li {
        flex: 1;
        text-align: center;
        padding: 0;
        margin: 0;
    }
    .mobile-nav .mobile-nav-icon {
        display: block;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-nav a {
       display: flex;
       flex-direction: column;
       align-items: center;
       text-decoration: none;
	color: white;
    }
    .mobile-nav-icon {
        font-size: 40px;
    }
    .quiz-modal {
	width: 90%;
    }

    .quiz-content button {
	font-size: 1rem;
    }

    .quiz-content h2 {
	font-size: 1.25rem;
    }
    #quiz-answer h2 {
	font-size: 1.25rem;
    }
}

@media (min-width: 920px) and (max-width: 1300px) {

  .ast-mobile-header-wrap {
    display: flex !important;
  }

  #ast-desktop-header {
    display: none;
  }

  #ast-mobile-header .ast-main-header-wrap {
    width: 100% !important;
    padding: 0 1rem !important;
    box-sizing: border-box;
  }

/* Keep mobile header wrap visible */
.ast-mobile-header-wrap {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  width: 100% !important;
}

/* Ensure the mobile header stays full width */
#ast-mobile-header .ast-main-header-wrap {
  width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* Full width dropdown */
.ast-builder-menu-mobile {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto;
  left: 0 !important;
  right: 0 !important;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Prevent dropdown from collapsing the header */
.ast-builder-menu-mobile .main-header-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

}

