/* Reset default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

/* Container layout for sidebar and main content */
.container {
    display: flex;
    height: 100vh;
    font-family: Arial, sans-serif;
}

/* Sidebar styles */
.sidebar {
    width: 300px;
    background: linear-gradient(-45deg, #86c3c7, #06597a, #0e2b55, #4a6aa5);
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

/* Selection card layout */
.card-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.selection-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.card {
    width: 250px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.card:focus {
    outline: none;
    transform: scale(1.05);
}

input[type="hidden"] {
    display: none;
}

/* Main content styles */
.main-content {
    flex: 1;
    padding: 20px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
}

/* Button group layout */
.button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

/* Button styles */
button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#start {
    background-color: #28a745;
    color: white;
}

#start:hover:not(:disabled) {
    background-color: #218838;
}

#stop {
    background-color: #dc3545;
    color: white;
}

#stop:hover:not(:disabled) {
    background-color: #c82333;
}

/* Transcript styles */
#transcript {
    border: 1px solid #ccc;
    padding: 10px;
    height: 300px;
    overflow-y: scroll;
    white-space: pre-wrap;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    width: 80%;
}

/* Upload section styles */
.upload-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#file-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#upload-button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    transition: background-color 0.3s;
}

#upload-button:hover:not(:disabled) {
    background-color: #0056b3;
}

#upload-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
