
:root {
  /* --opp-color: #ff7470; */
  --opp-color: #E75A45;
  --opp-color: #E04E39;



  --opp-color: #F06445;
  --opp-color: #E85D3F;
  --opp-color: #F26B4F;
  --opp-color: #E2A13A;
  --opp-color: #D85A30;
  --opp-color: #2D8C86;
  --opp-color: #FF4500;
  --opp-color: #CC2200;
  --opp-color: #FF6B35;
  --opp-color: #DD351C;
  --opp-color: #F98D4E;
  --opp-color: #DB682D;
  --opp-color: #F05252;
  --opp-color: #E75A45;
  --opp-color: #692F1D;
  --opp-color: #72312e;
  --opp-color: #8b4955;
  --opp-color: #fff7d6;
  --opp-color: #f9f871;


  /* --opp-color: #f55239; */
  /* --opp-color: #f53939; */
  /* --opp-color: #44aecc; */


  --opp-color: #ff7470;
  --opp-color: #E75A45;
  --opp-color: #E04E39;
  /* --opp-color: #e75a46; */
  --opp-color: #e96754;
  /* --opp-color: #f57e6d; */
  
  
  /* --opp-color: #CC4A32; */
  /* --opp-color: #D14F3A; */
  /* --opp-color: #D14F3A; */
  /* --opp-color: #D14F3A; */
  



  --opp-color: #e96754;
  --opp-color: #E1563F;











}




.ttimer-page {
  width: min(92%, 880px);
  min-height: calc(100vh - 60px);
  margin: 70px auto 40px;
}

.ttimer-app {
  width: 100%;
  background-color: #fefefa;
  border: 4px solid #153243;
  border-radius: 24px;
  padding: 28px;
  color: #0b1a24;
  /* box-shadow: 0 18px 45px rgba(21, 50, 67, 0.12); */
}

.ttimer-topbar {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.ttimer-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(21, 50, 67, 0.18);
  border-radius: 999px;
  background-color: #f3f5f5;
}

.ttimer-tab {
  border: none;
  background-color: transparent;
  color: #153243;
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
}

.ttimer-tab-active {
  background-color: #153243;
  color: #fff;
}

.ttimer-panel {
  display: none;
}

.ttimer-panel-active {
  display: block;
}

.ttimer-stage {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #153243, #24495d);
  border-radius: 22px;
  padding: 28px;
  color: #fff;
  margin-bottom: 18px;
}

/* .ttimer-stage::after {
  content: "";
  width: 220px;
  height: 220px;
  position: absolute;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
} */

.ttimer-stage-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.ttimer-label,
.ttimer-mode-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.ttimer-label {
  /* background-color: var(--opp-color);; */
  background-color: var(--opp-color);;
  color: #fff;
}

.ttimer-mode-label {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fefefa;
}

.ttimer-time {
  position: relative;
  z-index: 1;
  font-size: clamp(44px, 8vw, 78px);
  line-height: 1;
  font-weight: 600;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  letter-spacing: 2px;
  text-align: center;
  margin: 24px 0 26px;
  padding: 8px 10px;
  border-radius: 18px;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.ttimer-time:hover,
.ttimer-time:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.08);
}

.ttimer-stopwatch-stage .ttimer-time {
  cursor: default;
}

.ttimer-stopwatch-stage .ttimer-time:hover,
.ttimer-stopwatch-stage .ttimer-time:focus {
  background-color: transparent;
}

.ttimer-stage.ttimer-display-editing {
  background: linear-gradient(135deg, #24495d, #153243);
}

.ttimer-stage.ttimer-display-editing .ttimer-time {
  background-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
  cursor: default;
}

.ttimer-time-edit-input {
  width: min(100%, 520px);
  border: none;
  background-color: transparent;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: inherit;
  line-height: 1;
  font-weight: inherit;
  letter-spacing: inherit;
  text-align: center;
  padding: 0;
}

.ttimer-time-edit-input:focus {
  outline: none;
}

.ttimer-progress {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.ttimer-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background-color: var(--opp-color);;
  transition: width 0.15s linear;
}

.ttimer-stage-info {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.ttimer-stage-info span {
  min-width: 120px;
  padding: 9px 12px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  color: #eaf1f5;
}

.ttimer-stage-info strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  color: #fff;
}

.ttimer-stage-add-btn {
  min-width: 120px;
  min-height: 55px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ttimer-stage-add-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}

.ttimer-stage-add-icon {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.ttimer-controls {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.ttimer-stopwatch-controls {
  grid-template-columns: 1fr 1fr;
}

.ttimer-control-btn {
  height: 46px;
  border: 1px solid #153243;
  border-radius: 999px;
  background-color: #fefefa;
  color: #153243;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.ttimer-control-btn:hover {
  /* transform: translateY(-1px); */
}

.ttimer-primary-btn {
  background-color: var(--opp-color);;
  border-color: var(--opp-color);;
  color: #fff;
}

.ttimer-loop-btn.ttimer-loop-on {
  background-color: #153243;
  color: #fff;
}

.ttimer-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ttimer-list-header h1 {
  font-size: 24px;
  margin: 0;
  text-align: left;
  color: #0b1a24;
}

.ttimer-list-header p {
  margin: 3px 0 0;
  font-size: 14px;
  color: #42617a;
}

/* .ttimer-add-row-btn {
  
  width: 100%;
  min-height: 58px;
  margin-top: 10px;
  border: 1px dashed rgba(21, 50, 67, 0.35);
  border-radius: 14px;
  background-color: rgba(21, 50, 67, 0.03);
  color: #153243;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ttimer-add-row-btn:hover {
  background-color: rgba(21, 50, 67, 0.06);
  border-color: rgba(21, 50, 67, 0.55);
}

.ttimer-add-row-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: #153243;
  color: #fff;
  font-size: 22px;
  line-height: 1;
} */

.ttimer-add-row-btn {
  width: 100%;
  min-height: 58px;
  margin-top: 10px;
  border: 1px dashed rgba(21, 50, 67, 0.35);
  border-radius: 14px;
  background-color: rgba(21, 50, 67, 0.03);
  color: #153243;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ttimer-add-row-btn:hover {
  background-color: rgba(21, 50, 67, 0.06);
  border-color: rgba(21, 50, 67, 0.55);
}

.ttimer-add-row-icon {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.ttimer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ttimer-item {
  display: grid;
  grid-template-columns: 36px 1fr 1fr 1fr 38px;
  gap: 8px;
  align-items: center;
  background-color: #f9f9f9;
  border: 1px solid rgba(21, 50, 67, 0.35);
  border-radius: 14px;
  padding: 10px;
}

.ttimer-item-active {
  /* border-color: var(--opp-color); */
  /* border-color: #153243; */
  box-shadow: 0 0 0 3px rgba(255, 116, 112, 0.16);
}

.ttimer-number {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: #153243;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.ttimer-item label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #42617a;
  font-size: 12px;
  font-weight: 700;
}

.ttimer-item input {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(21, 50, 67, 0.35);
  border-radius: 8px;
  padding: 0 8px;
  background-color: #fff;
  color: #0b1a24;
  font-size: 16px;
  font-family: inherit;
}

.ttimer-item input:focus {
  outline: none;
  /* border-color: var(--opp-color);; */
  box-shadow: 0 0 0 3px rgba(255, 116, 112, 0.16);
}

/* .ttimer-delete-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background-color: #ffe3e2;
  color: #9a1b17;
  cursor: pointer;
  font-size: 20px;
} */

.ttimer-delete-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.ttimer-delete-btn:hover {
  background-color: rgba(224, 78, 57, 0.1);
}

.ttimer-delete-btn:active {
  transform: scale(0.94);
}

.ttimer-delete-icon {
  width: 28px;
  height: 28px;
  display: block;
}

@media (max-width: 640px) {
  .ttimer-page {
    margin-top: 32px;
  }

  .ttimer-app {
    padding: 18px;
    border-radius: 18px;
  }

  .ttimer-controls,
  .ttimer-stopwatch-controls {
    grid-template-columns: 1fr;
  }

  .ttimer-item {
    grid-template-columns: 32px 1fr 1fr 1fr 34px;
    gap: 6px;
    padding: 8px;
  }

  .ttimer-time {
    font-size: 38px;
    letter-spacing: 0;
  }


  .ttimer-stage-add-btn {
    min-width: 100%;
  }

  .ttimer-item input {
    font-size: 14px;
    padding: 0 5px;
  }
}


.ttimer-seo-content {
  /* margin-top: 550px; */
  width: 100%;
  margin: 100px auto 0;
  /* margin-top: 100px; */
  color: #153243;
  line-height: 1.7;
}

.ttimer-seo-content h1 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.25;
  color: #0b1a24;
}

.ttimer-seo-content p {
  margin: 0 0 14px;
  font-size: 16px;
  color: #314f61;
}


.ttimer-reset-all-btn {
  display: block;
  margin-top: 12px;
  margin-left: auto;
  border: none;
  background: transparent;
  color: #42617a;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 2px;
}

.ttimer-reset-all-btn:hover {
  color: #e96754;
}

@media (max-width: 640px) {
  .ttimer-seo-content {
    margin-top: 26px;
  }

  .ttimer-seo-content h1 {
    font-size: 24px;
  }

  .ttimer-seo-content p {
    font-size: 15px;
  }
}


/* mobile modal */

.tat-mobile-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.58);
}

.tat-mobile-notice-overlay[hidden] {
  display: none;
}

.tat-mobile-notice-modal {
  width: min(100%, 420px);

  padding: 28px 24px 24px;

  background: #021927;
  color: #fafaee;

  border: 1px solid rgba(250, 250, 238, 0.16);
  border-radius: 14px;

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.38);

  text-align: center;
}

.tat-mobile-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  margin: 0 auto 16px;

  background: #d94a4a;
  color: #ffffff;

  border-radius: 50%;

  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.tat-mobile-notice-title {
  margin: 0 0 12px;

  color: #ef6a6a;

  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.tat-mobile-notice-text {
  margin: 0;

  color: rgba(250, 250, 238, 0.82);

  font-size: 15px;
  line-height: 1.6;
}

.tat-mobile-notice-button {
  display: block;

  min-width: 130px;

  margin: 22px auto 0;
  padding: 11px 22px;

  border: 0;
  border-radius: 8px;

  background: #fafaee;
  color: #021927;

  font: inherit;
  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.tat-mobile-notice-button:hover {
  opacity: 0.9;
}

.tat-mobile-notice-button:active {
  transform: scale(0.97);
}

.tat-mobile-notice-button:focus-visible {
  outline: 3px solid rgba(250, 250, 238, 0.45);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .tat-mobile-notice-modal {
    padding: 24px 20px 20px;
  }

  .tat-mobile-notice-title {
    font-size: 21px;
  }

  .tat-mobile-notice-text {
    font-size: 14px;
  }
}
/* mobile modal */