/* Basic Shadcn UI-inspired styles */
#file-input {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    color: #374151;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

#file-input:hover {
    background-color: #e5e7eb;
}

.video-panel {
    position: relative;
    background-color: #3480cb;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-js {
    width: 100%;
    height: 100% !important;
    flex-grow: 1;
}

.timestamp-panel {
    border-radius: 0.5rem;
    border: 2px dashed #e5e7eb;
    background-color: #f3f4f6;
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%; /* Ensure the panel takes full width of its container */
    overflow: hidden; /* Prevent any overflow from child elements */
}

.video-placeholder {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f3f4f6;
    border: 2px dashed #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
}

.video-placeholder p {
    font-size: 1.25rem;
    color: #6b7280;
    text-align: center;
}

.timestamp-heading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-top: 0.1rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    /* border-bottom: 2px solid #e5e7eb; */
}

.timestamp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    border-bottom: 1px solid #e5e7eb;
}

.timestamp-heading {
    margin: 0;
    flex-grow: 1;
}

.timestamp-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    flex-grow: 1;
    padding: 0px;
    width: 100%; /* Ensure the list takes full width of its container */
    box-sizing: border-box; /* Include padding in the width calculation */
}

.timestamp-footer {
    padding: 0px;
    border-top: 1px solid #e5e7eb;
    width: 100%; /* Ensure the footer takes full width of its container */
    box-sizing: border-box; /* Include padding in the width calculation */
}

.timestamp-button {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    color: #374151;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem;
    margin: 0.25rem 0;
    transition: background-color 0.2s;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timestamp-button .screenshot {
    width: 100%;
    height: auto;
    /*max-width: 150px; /* Adjust this value as needed */
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    display: block; /* Ensure the image is displayed */
}

.timestamp-button .time-text {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.timestamp-button .comment {
    font-size: 0.75rem;
    color: #6b7280;
}

.timestamp-button:hover {
    background-color: #e5e7eb;
}

.timestamp-button:focus {
    border: 2px dashed #3b82f6;
    outline-offset: 2px;
}

.timestamp-button-choose {
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #55b5ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 8px; /* Add some space between the heading and the button */
    margin-bottom: 8px;
}

.timestamp-button-add {
    width: 100%;
    justify-content: center;
    padding: 15px 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #55b5ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    margin-left: 0px; /* Add some space between the heading and the button */
    margin-right: 0px;
    margin-bottom: 0px;
}

.timestamp-button:hover {
    background-color: #aad2ff;
}

.hidden-input {
    display: none;
}

.timestamp-button-choose:not(:disabled) {
    background-color: #55b5ff;
    color: white;
    cursor: pointer;
}

.timestamp-button-choose:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

.timestamp-button-add:not(:disabled) {
    background-color: #55b5ff;
    color: white;
    cursor: pointer;
}

.timestamp-button-add:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}
