
#big-date-display {
    background-color: var(--primary-color); 
    color: #fff;
    padding: 1.2rem;
    text-align: center;
    border-radius: 5px;
    margin: 1rem 0;
    word-wrap: break-word;
}
#big-date-display .result-time { display: block; font-size: 2.5rem; font-weight: bold; font-family: 'Courier New', Courier, monospace; line-height: 1.2; }
#big-date-display .result-date { display: block; font-size: 1.8rem; font-weight: bold; opacity: 0.9; margin-top: 0.5rem; }
#big-date-display.date-only { font-size: 2rem; font-weight: bold; padding: 1rem; }


.calculation-block {
    background-color: #FFE4B5; 
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgb(87, 84, 84);
    margin: 20px 0;
}


.descriptive-answer-box {
    margin-top: 2rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    
}

.time-widgets-container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1.5rem; margin-top: 2rem; }


.clock-widget {
    flex: 1;
    min-width: 280px;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
}
.clock-widget h3 { margin-top: 0; color: var(--text-color); }


.analog-clock {
    position: relative;
    width: 200px;
    height: 200px;
    border: 7px solid #282828;
    border-radius: 50%;
    margin: 1rem auto;
}
.analog-clock::before { content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: 1; background-image: repeating-conic-gradient(from 0deg, #ccc 0 0.2deg, transparent 0.2deg 5.8deg); }
.analog-clock .number { position: absolute; font-size: 1.5rem; font-weight: 500; color: #000; z-index: 2; }
.analog-clock .number-12 { top: 6px; left: 50%; transform: translateX(-50%); }
.analog-clock .number-3 { top: 50%; right: 10px; transform: translateY(-50%); }
.analog-clock .number-6 { bottom: 6px; left: 50%; transform: translateX(-50%); }
.analog-clock .number-9 { top: 50%; left: 10px; transform: translateY(-50%); }
.hand { position: absolute; width: 50%; top: 50%; transform-origin: 100%; background: black; border-radius: 4px; z-index: 5; }
.hour-hand { height: 6px; width: 35%; left: 15%; }
.min-hand { height: 4px; width: 45%; left: 5%; }
.second-hand { height: 2px; width: 48%; left: 2%; background: #c00; }
.center-dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; background: black; border-radius: 50%; z-index: 10; }
#live-time { font-size: 2.5rem; font-weight: bold; color: var(--primary-color); font-family: 'Courier New', Courier, monospace; }


 .calendar-container {
        margin: 2.5rem auto;
        padding: 1rem;
        max-width: 600px;
        background: #fff;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        overflow-x: auto;
    }

    .calendar {
        width: 100%;
        border-collapse: collapse;
        text-align: center;
        font-family: "Segoe UI", sans-serif;
        font-size: 0.95rem;
    }

    .calendar th,
    .calendar td {
        padding: 0.75rem 0.5rem;
        border: 1px solid #f0f0f0;
        width: 14.28%;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .calendar th {
        color: var(--primary-color);
        font-weight: 600;
        border-bottom: 2px solid var(--border-color);
        background: #f9fafc;
        font-size: 0.9rem;
    }

    .calendar td {
        cursor: pointer;
    }

    .calendar td:hover {
        background: #f1f7ff;
        color: var(--primary-color);
        border-radius: 6px;
    }

    .calendar td.highlight {
        background-color: var(--primary-color);
        color: #fff;
        font-weight: bold;
        border-radius: 50%;
    }
    
     .results-table-container { margin-top: 1.5rem; overflow-x: auto; }
     .results-table { width: 100%; border-collapse: collapse; }
     .results-table th, .results-table td { padding: 8px 10px; text-align: left; border: 1px solid var(--border-color); background: #fcfbfa;}


    .results-table thead th {
      color: var(--primary-color);
      font-weight: 600;
    
   }
   
      #rating-container {
    text-align: center;  
     margin: 20px 0;      
   }

    #rating-title {
     font-size: 1.2rem;
     margin-bottom: 10px;
   }

    #star-rating {
      display: inline-flex; 
      justify-content: center;
      gap: 5px;             
   }

    #star-rating span {
      font-size: 2rem;
      cursor: pointer;
      color: gold;
   }

   #average-rating {
      margin-top: 10px;
      font-size: 1rem;
   }



    @media (max-width: 768px) {
        .calendar-container {
            padding: 0.5rem;
            border-radius: 8px;
        }

        .calendar th,
        .calendar td {
            padding: 0.5rem 0.3rem;
            font-size: 0.8rem;
        }
    }



