
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
}

.sidebar {
    width: 180px;
    background-color: #f0f0f0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-right: 1px solid #ccc;
}

.sidebar .logo {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.main-content {
    flex: 1;
    padding: 20px;
    background-color: #fff;
}

header {
    text-align: center;
    background-color: #ddd;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
}

.detection-card {
    display: flex;
    border: 1px solid #000;
    padding: 10px;
    margin-bottom: 20px;
    gap: 20px;
}

.dino-image {
    width: 180px;
    height: 180px;
    background-color: #eee;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dino-info, .dino-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.history-section h2 {
    margin-top: 0;
}

.history-list {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 5px;
}

.history-card {
    display: flex;
    align-items: center;
    border: 1px solid #aaa;
    padding: 10px;
    background-color: #fff;
    gap: 10px;
}

.history-image {
    width: 60px;
    height: 60px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    text-align: center;
    border: 1px solid #aaa;
}

.history-info {
    display: flex;
    flex: 1;
    justify-content: space-between;
    gap: 20px;
}

.history-info div {
    font-size: 12px;
    text-align: left;
}

.history-timestamp {
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
}
/* Microphone Status States */
#startMicBtn.mic-denied {
  background-color: #cc3333;
  color: white;
}

#startMicBtn.mic-waiting {
  background-color: #ffcc00;
  color: black;
}

#startMicBtn.mic-active {
  background-color: #33cc66;
  color: white;
}
