/* Custom styles for the YouTube Transcript Timestamper */

/* Enhance the textarea for better transcript input */
#transcript {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    min-height: 250px;
}

/* Style the output pre tag for better readability */
#transcriptOutput {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    max-height: 500px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    border: 1px solid var(--bs-border-color);
}

/* Enhance the number input */
#interval {
    font-weight: 500;
}

/* Improve button styling */
.btn-lg {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Card styling improvements */
.card {
    border: 1px solid var(--bs-border-color);
}

.card-header {
    background-color: var(--bs-secondary-bg);
    border-bottom: 1px solid var(--bs-border-color);
}

/* Instructions styling */
.badge {
    font-size: 0.75em;
    min-width: 1.5em;
    height: 1.5em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    #transcript {
        min-height: 200px;
    }
    
    #transcriptOutput {
        font-size: 12px;
        max-height: 400px;
    }
}

/* Focus states for better accessibility */
.form-control:focus,
.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Smooth transitions */
.btn,
.card,
.alert {
    transition: all 0.15s ease-in-out;
}

/* Loading state for form submission */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
