/* =========================
   GLOBAL
========================= */

body {
  color: #d8c9bc;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  font-weight: 300;

  margin: 0;
  min-height: 100vh;

  background: #050505;
}

.disabled {
  pointer-events: none;
  opacity: 0.4;
}

/* =========================================================
   2. LAYOUT
========================================================= */

.viewport{
  width: 100%;
  max-width: 350px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: hidden;

  background:
    linear-gradient(rgba(8, 8, 10, 0.34), rgba(8, 8, 10, 0.34)),
    url("/img/csg_fondo.webp") center center / cover no-repeat;
  background-color: #0a0908;

  border-radius: 18px;
  border: 1px solid rgba(255, 125, 50, 0.16);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(255,140,60,0.08),
    inset 0 -8px 18px rgba(0,0,0,0.28),
    0 0 0 1px rgba(0,0,0,0.35),
    0 14px 30px rgba(0,0,0,0.42);
}


.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}



.modal-content {
  background: #2f2f2f;
  padding: 20px;
  border-radius: 12px;
  width: 320px;
}

/* oculto */
.hidden {
  display: none !important;
}


.confirm-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 55%;
    max-width: 320px;
    margin: 20px auto;
    padding: 18px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(40, 20, 10, 0.95), rgba(10, 8, 7, 0.98));
    border: 1px solid rgba(255, 120, 40, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.85), inset 0 1px 2px rgba(255, 255, 255, 0.05);
    text-align: center;
}

#confirm_text {
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.confirm-actions .button {
    height: 25px;
    width: 50px;
    border-radius: 10px;
    font-size: 14px;
}

.nav-labels {
    display: flex;
    gap: 15px;
    font-size: 14px;
    margin-top: 40px;
    /* justify-content: center; */
}

.grid-item1{
  font-size: 24px;
  margin-left: 30px;
}

.grid-item2{

}

.grid-item3{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.grid-item4{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 28px auto 0;
  /* width: 170px; */
  /* height: 48px; */
  text-align: center;

  border-radius: 12px;
  border: 1px solid rgba(255,120,40,0.22);
  background: linear-gradient(
    180deg,
    rgba(48,32,24,0.92) 0%,
    rgba(22,16,14,0.96) 52%,
    rgba(10,9,9,0.98) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -2px 5px rgba(0,0,0,0.45),
    0 8px 18px rgba(0,0,0,0.22);

  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .15s ease;
}

.grid-item4:focus-within{
  border-color: rgba(255,145,60,0.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    inset 0 -2px 6px rgba(0,0,0,0.48),
    0 0 0 1px rgba(255,110,30,0.14),
    0 0 14px rgba(255,90,20,0.16),
    0 10px 22px rgba(0,0,0,0.24);
}

.id_box{
    width: 180px;
    height: 50px;
    padding: 0;
    border: none;
    outline: none;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    text-align: center;
    font-size: 18px;
}

.id_box::placeholder{
  color: rgba(255,176,106,0.42);
  /* font-size: 20px; */
  /* font-weight: 500; */
  /* letter-spacing: 0.4px; */
  color: #ffb06a;
}

.id_box:focus,
.id_box:active,
.id_box:hover{
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}

.id_box:-webkit-autofill,
.id_box:-webkit-autofill:hover,
.id_box:-webkit-autofill:focus,
.id_box:-webkit-autofill:active{
  -webkit-text-fill-color: #ffb06a !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  background-color: transparent !important;
  transition: background-color 999999s ease-in-out 0s;
}

.auto-start-btn {
    width: 35%;
    height: 46px;
    margin: 28px auto 0 auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 98, 0, 0.9);
    background: linear-gradient(180deg, rgba(255, 98, 0, 0.18), rgba(0, 0, 0, 0.7));
    color: #f5a66a;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.08);
    transition: all .15s ease;
}

.auto-start-btn:hover {
  transform: translateY(-1px);

  border-color: rgba(255,120,40,0.6);

  box-shadow:
    0 6px 14px rgba(0,0,0,0.8),
    inset 0 1px 3px rgba(255,255,255,0.12);
}

.auto-start-btn:active {
  transform: translateY(1px) scale(0.98);

  background: linear-gradient(
    180deg,
    rgba(255, 98, 0, 0.28),
    rgba(0, 0, 0, 0.8)
  );

  box-shadow:
    inset 0 3px 6px rgba(0,0,0,0.9),
    inset 0 -1px 2px rgba(255,255,255,0.05);
}
