/* Custom styles for ScribeVids */

.cursor-pointer {
    cursor: pointer !important;
}

.max-width-400 {
    max-width: 400px;
}

.transcript-content {
    max-height: 400px;
    overflow-y: auto;
    line-height: 1.6;
    padding: 1rem;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
}

/* Hover effects for clickable content */
.form-control.bg-body-secondary:hover,
.blockquote:hover,
.cursor-pointer:hover {
    background-color: var(--bs-info) !important;
    opacity: 0.1;
}

/* Badge hover effect */
.badge.cursor-pointer:hover {
    opacity: 0.8;
}

/* Status badge colors */
.status-badge.bg-success {
    background-color: var(--bs-success) !important;
}

.status-badge.bg-warning {
    background-color: var(--bs-warning) !important;
}

.status-badge.bg-danger {
    background-color: var(--bs-danger) !important;
}

.status-badge.bg-secondary {
    background-color: var(--bs-secondary) !important;
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading-pulse {
    animation: pulse 2s infinite;
}

/* Table responsive improvements */
.table-responsive {
    border-radius: 0.375rem;
}

/* Progress bar styling */
.progress {
    height: 8px;
}

/* Toast positioning */
.toast-container {
    z-index: 1055;
}

/* Card improvements */
.card {
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

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

/* Button improvements */
.btn {
    border-width: 1px;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-info:hover,
.btn-outline-danger:hover {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

/* Alert improvements */
.alert {
    border-left: 4px solid;
}

.alert-info {
    border-left-color: var(--bs-info);
}

.alert-danger {
    border-left-color: var(--bs-danger);
}

.alert-success {
    border-left-color: var(--bs-success);
}

/* Navbar improvements */
.navbar-brand {
    font-size: 1.5rem;
}

/* Footer styling */
footer {
    margin-top: auto;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .d-flex.gap-2 {
        flex-direction: column;
    }
    
    .d-flex.gap-2 > * {
        margin-bottom: 0.5rem;
    }
}

/* Feather icon alignment */
[data-feather] {
    vertical-align: -0.125em;
}

/* Form enhancements */
.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Copy feedback */
.copy-feedback {
    position: relative;
}

.copy-feedback:after {
    content: "Clicked to copy!";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bs-dark);
    color: var(--bs-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.copy-feedback.show:after {
    opacity: 1;
}

/* Structured blog content styling */
.structured-content h3 {
    color: var(--bs-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
    border-left: 3px solid var(--bs-primary);
    padding-left: 0.75rem;
}

.structured-content h3:first-child {
    margin-top: 0;
}

.structured-content h4 {
    color: var(--bs-info);
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
}

.structured-content p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.structured-content strong {
    color: var(--bs-warning);
    font-weight: 600;
}

.structured-content .cta-section {
    background: var(--bs-info-bg-subtle);
    border: 1px solid var(--bs-info-border-subtle);
    border-radius: 0.375rem;
    padding: 1rem;
    margin-top: 1.5rem;
    text-align: center;
}
