/* =========================================
   vocTest.css — Standalone styles for vocTest.php
   ONE FILE ONLY: no need for assets/styles.css
   Edit the variables in :root to re-theme quickly.
========================================= */

/* ============ 1) Theme Tokens (edit these) ============ */
:root{
  /* Colors */
  --bg: #ffffff;          /* page background */
  --text: #111111;        /* main text */
  --muted: #6b7280;       /* secondary text */
  --border: #d1d5db;      /* neutral borders */
  --card: #f9fafb;        /* card/panels */
  --chip: #f8fafc;        /* option chip bg */
  --chip-hover: #eef2f7;  /* chip hover */
  --chip-active: #e0f2fe; /* chip active */
  --lock: #e5e7eb;        /* chip locked bg */
  --accent: #0ea5e9;      /* highlight (active, outlines, progress) */
  --accent-2: #0284c7;    /* primary buttons */
  --warn: #dc2626;        /* warning (e.g., timer low) */

  /* Radii + Shadows */
  --radius: 12px;         /* overall rounding */
  --r-card: 14px;         /* card rounding */
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* ============ 2) Base / Page ============ */
*{ box-sizing: border-box; }
html, body{ height: 100%; margin: 0;}
body{
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  min-height: 100%;
  display: grid;
  background: linear-gradient(180deg, #fff8e1 0%, #ffe0b2 100%);
  background-attachment: fixed; /* ensures it stays put while scrolling */
  line-height: 1.4;
}
.container{ max-width: 1000px; margin: 0 auto; padding: 20px; }



.header {
  background: transparent;
  display: flex;
  margin-top: 1px; ;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.header img {
    width: clamp(3rem, 6vw, 5rem);
    border-radius: 50%;
    height: auto;
}

.footer {
  background: transparent;
  display: flex;
  margin-top: 10px; ;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.footer img {
    width: clamp(3rem, 6vw, 5rem);
    height: auto;
}


.title{ 
    font-size: clamp(1.7rem, 4vw, 3rem);   /* judul di antara logo dan avatar*/
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px; 
    color: black;
}

.testTitle{ 
    font-size: clamp(1.2rem, 4vw, 1.8rem);   /* judul/nama test */
    font-weight: 600;
}

.title-bar{ 
    width: clamp(18rem, 60vw, 48rem);
    margin-left: 5px;
    margin-right: 5px;
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    margin-bottom: 5px; 
    color: black;
}
.timer{
    width: clamp(18rem, 80vw, 42rem);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    border: 1px;
}

.wrap{
    width: clamp(21rem, 80vw, 50rem);
    margin:10px auto;
    padding:0 16px;
    background: rgba(255,255,255,0.55);
    border:1px solid #1f1f1f; 
    border-radius:18px; 
    padding:15px 15px 20px;
    box-shadow:0 10px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.03);
}
.menu{
    width: clamp(19rem, 80vw, 45rem);
    margin-left: auto;
    margin-right: auto;
    margin-top:1px;
    padding:0 16px;
    padding:15px 15px 20px;
    align-items: left;
}

.row{display:grid;
    gap:8px;align-items:flex-start;flex-wrap:wrap}
    
.questionBar{ 
    width: clamp(20rem, 80vw, 42rem);
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    align-items: center;
    justify-content: center;
    color: black;
}

.questionNumber{
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
}
    
.question{
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    margin:10px 0;
}



.hint{
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color:#555;
    margin-left:6px}
    
.controls{
    display:flex;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    gap:10px;
    align-items:center;

}

input[type="text"]{padding:8px 10px;border-radius:8px;border:1px solid #ccc;min-width:200px; font-size: clamp(0.9rem, 2vw, 1.4rem);}
button{padding:8px 12px;
    width: clamp(4rem, 10vw, 8rem);
    border-radius:10px;
    background: #b77109;
    color: white;
    cursor:pointer;
    margin-top: 5px;
}
button:disabled{opacity:.5;cursor:not-allowed}
.feedback{min-height:1.4em;
   font-size: clamp(0.9rem, 2vw, 1.4rem); 
}

.next-attention {
  cursor: pointer;
}
@keyframes nextPulse {
  0%   { box-shadow: 0 0 0 0 rgba(184,121,18,.45); }
  70%  { box-shadow: 0 0 0 10px rgba(184,121,18,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,121,18,0); }
}

.next-attention {
  animation: nextPulse 1.6s ease-out infinite;
  cursor: pointer;
}






