/* Video Delivery Template Styles */

/* Root Variables */
:root {
    --video-primary: #4f46e5;
    --video-primary-hover: #4338ca;
    --video-secondary: #6b7280;
    --video-accent: #f59e0b;
    --video-success: #10b981;
    --video-danger: #ef4444;
    --video-warning: #f59e0b;
    --video-info: #3b82f6;
    
    --video-bg-primary: #ffffff;
    --video-bg-secondary: #f9fafb;
    --video-bg-tertiary: #f3f4f6;
    --video-text-primary: #111827;
    --video-text-secondary: #374151;
    --video-text-muted: #6b7280;
    
    --video-border: #e5e7eb;
    --video-border-light: #f3f4f6;
    --video-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --video-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --video-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    
    --video-radius: 0.375rem;
    --video-radius-lg: 0.5rem;
    --video-radius-xl: 0.75rem;
}

/* Dark Theme Variables */
[data-bs-theme="dark"] {
    --video-primary: #6366f1;
    --video-primary-hover: #4f46e5;
    --video-bg-primary: #1f2937;
    --video-bg-secondary: #111827;
    --video-bg-tertiary: #374151;
    --video-text-primary: #f9fafb;
    --video-text-secondary: #d1d5db;
    --video-text-muted: #9ca3af;
    --video-border: #374151;
    --video-border-light: #4b5563;
}

/* Base Styles */
body {
    background-color: var(--video-bg-secondary);
    color: var(--video-text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.site-header {
    background: var(--video-bg-primary);
    border-bottom: 1px solid var(--video-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--video-shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.site-title {
    color: var(--video-text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-title i {
    font-size: 1.8rem;
    color: var(--video-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-theme-toggle {
    background: transparent;
    border: 1px solid transparent;
    color: var(--video-text-secondary);
    padding: 0.5rem;
    border-radius: var(--video-radius);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.btn-theme-toggle:hover {
    background: var(--video-bg-tertiary);
    color: var(--video-primary);
    transform: scale(1.05);
}

.btn-theme-toggle i {
    font-size: 1.1rem;
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Page Heading */
.page-heading {
    margin-bottom: 2.5rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--video-text-primary);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--video-text-muted);
    font-weight: 400;
    max-width: 65ch;
}

/* Alerts Container */
.alerts-container {
    margin-bottom: 2.5rem;
    padding: 0;
}

.alerts-container .alert {
    border-radius: var(--video-radius-lg);
    border: 1px solid transparent;
    box-shadow: var(--video-shadow-md);
    border-left-width: 4px;
}

.alerts-container .alert-success {
    background-color: var(--video-bg-primary);
    color: var(--video-text-secondary);
    border-color: var(--video-success);
}

.alerts-container .alert-danger {
    background-color: var(--video-bg-primary);
    color: var(--video-text-secondary);
    border-color: var(--video-danger);
}

.alerts-container .alert-warning {
    background-color: var(--video-bg-primary);
    color: var(--video-text-secondary);
    border-color: var(--video-warning);
}

.alerts-container .alert-info {
    background-color: var(--video-bg-primary);
    color: var(--video-text-secondary);
    border-color: var(--video-info);
}

/* Content Wrapper */
.content-wrapper {
    background: var(--video-bg-primary);
    border-radius: var(--video-radius-xl);
    padding: 2.5rem;
    box-shadow: var(--video-shadow-lg);
    border: 1px solid var(--video-border);
    min-height: 400px;
}

/* Video Player Styles (for future use) */
.video-player-container {
    background: #000;
    border-radius: var(--video-radius-lg);
    overflow: hidden;
    box-shadow: var(--video-shadow-xl);
    margin-bottom: 2rem;
}

.video-controls {
    background: var(--video-bg-primary);
    padding: 1rem;
    border-radius: var(--video-radius);
    margin-top: 1rem;
    box-shadow: var(--video-shadow);
    border: 1px solid var(--video-border);
}

.video-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--video-text-primary);
    margin: 0;
}

.video-metadata {
    color: var(--video-text-secondary);
    font-size: 0.875rem;
}

/* Download Section Styles (for future use) */
.download-section {
    background: var(--video-bg-secondary);
    border-radius: var(--video-radius-lg);
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid var(--video-border);
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.download-option {
    background: var(--video-bg-primary);
    border: 1px solid var(--video-border);
    border-radius: var(--video-radius);
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--video-text-primary);
}

.download-option:hover {
    transform: translateY(-2px);
    box-shadow: var(--video-shadow-lg);
    border-color: var(--video-primary);
    color: var(--video-primary);
    text-decoration: none;
}

.download-option i {
    font-size: 2rem;
    color: var(--video-primary);
    margin-bottom: 0.5rem;
}

.download-option h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.download-option p {
    font-size: 0.875rem;
    color: var(--video-text-secondary);
    margin: 0;
}

/* Footer */
.site-footer {
    background: var(--video-bg-secondary);
    border-top: 1px solid var(--video-border);
    margin-top: auto;
    color: var(--video-text-muted);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--video-text-secondary);
}

.footer-brand i {
    color: var(--video-primary);
}

.footer-link {
    color: var(--video-text-muted);
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.2s ease-in-out;
}

.footer-link:hover {
    color: var(--video-text-primary);
    text-decoration: underline;
}

/* Utility Classes */
.btn-video-primary {
    background: var(--video-primary);
    border-color: var(--video-primary);
    color: white;
    border-radius: var(--video-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-video-primary:hover {
    background: var(--video-primary-hover);
    border-color: var(--video-primary-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--video-shadow-lg);
}

.card-video {
    background: var(--video-bg-primary);
    border: 1px solid var(--video-border);
    border-radius: var(--video-radius-lg);
    box-shadow: var(--video-shadow);
    transition: all 0.2s ease;
}

.card-video:hover {
    transform: translateY(-2px);
    box-shadow: var(--video-shadow-lg);
}

.text-video-primary {
    color: var(--video-primary) !important;
}

.text-video-secondary {
    color: var(--video-text-secondary) !important;
}

.bg-video-primary {
    background-color: var(--video-bg-primary) !important;
}

.bg-video-secondary {
    background-color: var(--video-bg-secondary) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 2rem 1rem;
    }
    .page-title {
        font-size: 2rem;
    }
    .content-wrapper {
        padding: 2rem;
    }
    .footer-content {
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
    }
}
@media (max-width: 576px) {
    .main-content {
        padding: 1.5rem 1rem;
    }
    .content-wrapper {
        padding: 1.5rem;
    }
    .page-title {
        font-size: 1.8rem;
    }
}
 
/* Other styles from the previous version are largely superseded or removed for clarity */
/* If you need styles for video player, downloads etc., they should be reviewed and updated to this new design language. */

.video-player {
    max-height: 60vh;
    outline: none;
    background-color: #000;
}

.video-container-wrapper .card {
    border-radius: 0.2rem;
}

/* Mobile Optimizations */
@media (max-width: 767.98px) {
    .main-content {
        padding-left: 0;
        padding-right: 0;
    }

    /* Make video card edge-to-edge */
    .main-content .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .video-container-wrapper .card {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    /* Adjust header font size for smaller screens */
    .site-header .site-title {
        font-size: 1.5rem;
    }

    /* Adjust video title font size */
    .video-title {
        font-size: 1.25rem;
    }

    /* Ensure footer text is centered and readable */
    .site-footer .footer-content {
        flex-direction: column;
        text-align: center;
    }
} 