/* Global Styles */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

.content {
    flex: 1 0 auto;   /* take as much height as needed */
    padding: 20px;    /* your existing padding */
  }

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f1f1f1;
    padding: 0px 20px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
    flex-shrink: 0;
}

.footer audio {
    height: 30px;
}

.footer canvas {
    width: 100%;
    height: 80px;
}

/* Waveform Container */
.waveform-container {
    width: 100%;
    height: 100px;
}

.waveform-canvas {
    width: 300px;
}

/* Audio */
audio {
    width: 100%;
}

/* Hourly Status */
.hourly-status {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hour-box {
    width: 40px;
    height: 40px;
    margin: 5px;
    text-align: center;
    line-height: 40px;
    color: white;
    border-radius: 5px;
}

.hour-box.green {
    background-color: green;
}

.hour-box.red {
    background-color: red;
}

/* Datepicker */
.ui-datepicker {
    width: 100%;
    padding: 10px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.ui-datepicker-header {
    background: #4CAF50;
    color: white;
    padding: 10px;
    border-radius: 8px 8px 0 0;
}

.ui-datepicker-title {
    text-align: center;
    font-weight: bold;
}

.ui-datepicker-calendar {
    width: 100%;
    table-layout: fixed;
}

.ui-datepicker-calendar th,
.ui-datepicker-calendar td {
    text-align: center;
    padding: 5px 0;
}

.ui-datepicker td a {
    background-color: green !important;
    color: white !important;
}

.ui-datepicker td.blue a {
    background-color: blue !important;
    color: white !important;
}

.ui-datepicker td.red a {
    background-color: red !important;
    color: white !important;
}
.ui-datepicker td.black a {
    background-color: black !important;
    color: white !important;
  }

.ui-datepicker-prev,
.ui-datepicker-next {
    cursor: pointer;
}

/* Key Legend */
.key {
    margin-top: 10px;
    margin-bottom: 20px;
}

.key div {
    display: inline-block;
    margin-right: 20px;
}

.key .green {
    background-color: green;
    width: 20px;
    height: 20px;
    display: inline-block;
}

.key .red {
    background-color: red;
    width: 20px;
    height: 20px;
    display: inline-block;
}

.key .blue {
    background-color: blue;
    width: 20px;
    height: 20px;
    display: inline-block;
}
