:root {
    --progress: 0;
  }

  body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
  }

  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .timer-circle {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .timer-circle::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 10px solid #e0e0e0;
    box-sizing: border-box;
  }

  .progress-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }

  .progress-ring circle {
    fill: none;
    stroke: #4CAF50;
    stroke-width: 10px;
    stroke-dasharray: 819;
    stroke-dashoffset: var(--progress);
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 0.1s linear;
  }

  .countdown {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    z-index: 1;
  }

  .time-input-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .time-input {
    width: 80px;
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 20px;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s;
  }

  .time-input:focus {
    outline: none;
    border-color: #4CAF50;
  }

  .notification-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #2196F3;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    box-sizing: border-box;
  }

  .notification-bar.hidden {
    display: none;
  }

  .notification-message {
    font-size: 14px;
    margin-right: 10px;
    flex: 1;
  }

  .notification-btn-top {
    background-color: white;
    color: #2196F3;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 70px;
  }

  .timer-instructions {
    margin-top: 20px;
    text-align: center;
    color: #777;
    font-size: 14px;
    opacity: 0.8;
  }

  .instruction {
    margin: 2px 0;
  }

  .notification-btn-top:hover {
    background-color: #f0f0f0;
  }

  /* Add top margin to container when notification bar is visible */
  body:has(.notification-bar:not(.hidden)) .container {
    margin-top: 50px;
  }

  @media (max-width: 500px) {
    .timer-circle {
      width: 250px;
      height: 250px;
    }
    .countdown {
      font-size: 40px;
    }
  }