﻿
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&Inter:wght@300;400;500;600;700;800&display=swap');

  html { font-family: Inter, sans-serif; padding: 0px; }

  table { width: 100%; border-collapse: collapse; background: white; }
  td.ctop { padding: 0px; font-size: 17px; }

td.ccopy { padding:5px;font-size:11px;color:white;background:#333;height:24px;text-align:right; }

  th.cmin, td.cmin { padding: 8px; font-size: 15px; border-bottom: 1px solid #ddd; text-align: left; }

  #timers {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }

  .timer {
    border: 1px solid #ccc;
//    margin: 0 auto; /* centers the div */
    margin: 0 5px; /* controls spacing */
    padding: 15px;
    width: 220px;
    border-radius: 8px;
    text-align: center;
  }

  .circleWrapper {
    width: 160px;
    height: 160px;
    margin: 10px auto;
    position: relative;
  }

  .pie {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: conic-gradient(#4caf50 360deg, #ddd 0deg);
    transition: background 0.1s linear;
  }

  /* Bigger white text with black outline */
  .centerText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
 font-family: Arial, sans-serif;
    font-size: 3.4rem;
  font-weight: 600;
    color: white;
    pointer-events: none;

text-shadow:
  -2px -2px 0 #4caf50, /* Top Left */
   2px -2px 0 #4caf50, /* Top Right */
  -2px  2px 0 #4caf50, /* Bottom Left */
   2px  2px 0 #4caf50; /* Bottom Right */
  }

.timer-table {
  margin: 20px auto;
white-space:nowrap;
  border-collapse: collapse;
  background: #fff7e6;
  border: 2px solid #f39c12;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  padding: 15px;
}

.timer-table td {
  padding: 10px;
  vertical-align: middle;
}

h2 {
  color: #fff;
  text-align: center;
  font-weight: 500;
  margin: 0;
}

h3 {
  color: #333;
  text-align: center;
  margin: 0;
}

.preset-buttons button,
#addTimer, #testSound {
  background-color: #f39c12;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  color: white;
    font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: 0.2s ease;
}

.preset-buttons button:hover,
#addTimer:hover, #testSound:hover {
  background-color: #e67e22;
  transform: translateY(-2px);
}

input[type="number"] {
  padding: 6px;
  border: 2px solid #f39c12;
  border-radius: 4px;
  width: 80px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}




.table-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.table-wrapper {
  position: relative;
  width: fit-content;
}

/* X inside table when open */
.corner-arrow {
  position: absolute;
  top: 22px;
  right: 8px;
  cursor: pointer;
  font-size: 23px;
  background: rgba(255,255,255,0.8);
  padding: 2px 4px;
  border-radius: 3px;
  user-select: none;
  opacity: 0.8;
}

.corner-arrow:hover {
  opacity: 1;
}

/* Down arrow when closed */
#closedArrow {
  display: none;
  text-align: center;
  font-size: 28px;
  cursor: pointer;
  margin-top: 8px;
  user-select: none;
}

