.list-view-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.list-view-wrapper {
    max-width: 760px;  
    width: 100%;  
    margin: 0 auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    box-sizing: border-box;
}
.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--hist-header);
    border: 1px solid var(--hist-border);
    padding: 12px 16px;
    border-radius: 8px;
}

.view-switch-link {
    color: #007acc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.view-switch-link:hover {
    text-decoration: underline;
}

.schedule-list-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.list-date-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.list-date-header {
    font-size: 15px;
    font-weight: 700;
    color: #2A568C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--hist-border);
    padding-bottom: 6px;
    margin-top: 12px;
    width: 100%;
}

.list-card {
    background-color: var(--hist-bg);
    border: 1px solid var(--hist-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.list-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-top-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-event-type {
    font-size: 16px;
    font-weight: 700;
    color: var(--hist-text);
}

.card-time-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--hist-muted);
    background: rgba(128,128,128,0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.card-mid-line {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--hist-muted);
}

.card-host-span b {
    color: var(--hist-text);
}

.card-notes-preview {
    font-size: 13px;
    color: var(--hist-muted);
    background-color: var(--hist-header);
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid #666;
    margin-top: 4px;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    box-sizing: border-box;
}

.command-box-wrapper.vertical {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.modal-text-input {
    width: 100%;
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid var(--hist-border);
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out;
}

.modal-text-input:focus {
    border-color: #007acc;
    outline: none;
    background-color: #202020;
}



