#ccpContainer {
    height: 600px;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#content {
    display: flex;
    width: 100%;
    overflow-x: auto;
}

#section-dial {
    width:25%;
    min-width:25%; 
    max-width: 25%;
    flex-shrink: 0;
    margin-right: 10px;
}

#section-main {
    width: 36%;
    min-width: 36%; 
    max-width: 36%;
    flex-shrink: 0;
    margin-right: 10px;
}

#section-transcription {
    width: 36%;
    min-width: 36%; 
    max-width: 36%;
    flex-shrink: 0;
    margin-right: 10px;
    border-left: 1px solid #ddd;
    padding-left: 15px;
}

#transcription-content {
    height: 600px;
    overflow: auto;
    padding: 10px 0;
}

#transcription-content h5 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
    color: #32363a;
}

#text-container {
    height: 79%;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 3px;
    background-color: white;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.4;
}

#section-wisdom {
    flex-grow: 1;
    margin-left: 22px;
}

#wisdomcontent {
    width: 98%;
    height: 100%;
    overflow: auto;
}

#inputfield {
    margin-bottom: 20px;
}

#searchterm {
    font-size: 15px;
    padding: 5px;
    width: 250px;
}

iframe {
    border: none;
}

body {
    font-family: sans-serif;
    background-color: #F2F2F2;
    margin: 0px;
    color: #32363a;
}

h2 {
    font-size: 0.875rem;
    font-weight: 400;
}

a {
    cursor: pointer;
}

.title {
    font-weight: 100;
    padding: 20px;
    margin-left: 100px;
    font-size: 1.25rem;
}

.tile {
    box-shadow: 0 2px 4px rgb(51 51 51 / 20%);
    border-radius: 0.25rem;
    background-color: white;
    float: left;
    padding: 10px;
    min-width: 265px;
    min-height: 465px;
}

.divider {
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 20px;
    border-top: 1px solid lightgray;
}

#queueinfo {
    margin: 20px;
    padding: 5px;
    border: 1px solid black;
    border-radius: 3px;
    box-shadow: 1px 3px 7px -1px dimgray;
    background-color: #c6f68d;
}

#rtm {
    margin-left: 10px;
    margin-right: 10px;
}

.rtm {
    width: 100%;
}

.rtm td {
    text-align: center;
}

.icon {
    width: 24px;
    margin: auto;
}

.highlight {
    background-color: cornsilk;
}

/* Add missing search input styles */
.search-container, #search-container {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-btn, .nav-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.search-btn:hover, .nav-btn:hover {
    background: #0056b3;
}

.search-input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    flex-grow: 1;
    display: none;
}

.search-results {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

/* Highlight styles for search */
.search-highlight {
    background-color: rgba(0, 0, 255, 0.3);
    padding: 1px 2px;
    border-radius: 2px;
}

/* Summary header with dropdown and edit button */
.summary-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.summary-dropdown-container {
    flex: 1;
}

.summary-dropdown-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #32363a;
    font-size: 14px;
}

.summary-dropdown {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    color: #32363a;
    cursor: pointer;
    min-height: 40px;
}

.summary-dropdown:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.summary-dropdown option {
    padding: 10px;
    color: #32363a;
    background-color: white;
}

.summary-dropdown option:hover {
    background-color: #f8f9fa;
}

.edit-btn-inline {
    flex-shrink: 0;
    margin-top: 0;
}

/* Loading and error message styles */
#text-container-summary .loading-message,
#text-container-summary .error-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-style: italic;
}

#text-container-summary .error-message {
    color: #dc3545;
}

#text-container-summary .loading-message {
    color: #666;
}

/* Summary editing controls */
.summary-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    min-height: 20px;
}

.summary-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.summary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.summary-btn:active {
    transform: translateY(0);
}

.summary-btn:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.summary-btn {
    background-color: #007bff;
    color: white;
}

.summary-btn:hover:not(:disabled) {
    background-color: #0056b3;
}

.save-btn {
    background-color: #28a745;
}

.save-btn:hover:not(:disabled) {
    background-color: #1e7e34;
}

.cancel-btn {
    background-color: #6c757d;
}

.cancel-btn:hover:not(:disabled) {
    background-color: #545b62;
}

.save-status {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 3px;
    margin-left: auto;
}

.save-status.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.save-status.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.save-status.saving {
    color: #0c5460;
    background-color: #bee5eb;
    border: 1px solid #abdde5;
}

/* Summary editor textarea */
#summary-editor {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    border: 2px solid #007bff;
    border-radius: 4px;
    outline: none;
}

#summary-editor:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Info message styles */
.info-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-style: italic;
    color: #6c757d;
    text-align: center;
    padding: 20px;
}