/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-title {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-title i {
    color: #3498db;
    margin-right: 10px;
}

.login-subtitle {
    color: #7f8c8d;
    font-size: 16px;
}

.login-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.login-form .form-label i {
    margin-right: 8px;
    color: #3498db;
}

.login-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.btn-login {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    color: #7f8c8d;
    font-size: 14px;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    color: white;
    transition: all 0.3s ease;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.sidebar-title i {
    color: #3498db;
    margin-right: 10px;
}

.sidebar-nav {
    list-style: none;
    padding: 20px 0;
}

.nav-item {
    margin: 5px 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: #3498db;
}

.nav-item.active .nav-link {
    background: rgba(52, 152, 219, 0.2);
    color: white;
    border-left-color: #3498db;
}

.nav-link i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-link {
    color: #e74c3c !important;
}

.logout-link:hover {
    background: rgba(231, 76, 60, 0.2) !important;
    color: #e74c3c !important;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 250px;
    transition: all 0.3s ease;
    padding-left: 20px;
}

.sidebar.collapsed + .main-content {
    margin-left: 70px;
    padding-left: 20px;
}

/* Top Navigation */
.top-nav {
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-nav-left {
    display: flex;
    align-items: center;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: #2c3e50;
    margin-right: 15px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: #f8f9fa;
    color: #3498db;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.welcome-text {
    color: #7f8c8d;
    font-weight: 500;
}

.user-avatar {
    font-size: 24px;
    color: #3498db;
}

/* Dashboard Content */
.dashboard-content {
    padding: 30px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 24px;
}

.stat-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.stat-content p {
    color: #7f8c8d;
    font-weight: 500;
    margin: 0;
}

/* Dashboard Placeholder */
.dashboard-placeholder {
    background: white;
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.placeholder-content {
    max-width: 500px;
    margin: 0 auto;
}

.placeholder-icon {
    font-size: 80px;
    color: #3498db;
    margin-bottom: 30px;
    opacity: 0.7;
}

.placeholder-content h2 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.placeholder-content p {
    color: #7f8c8d;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-content {
        padding: 20px;
    }
    
    .top-nav {
        padding: 15px 20px;
    }
    
    .login-card {
        margin: 20px;
        padding: 30px;
    }
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.alert-info {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tags Management Styles */
.tags-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.tags-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
}

.tags-header h2 {
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.tags-table-container {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tags-table-container table {
    margin-bottom: 0;
    background: white;
}

.tags-table-container th {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    border: none;
    padding: 15px 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.tags-table-container td {
    padding: 15px 12px;
    vertical-align: middle;
    border-top: 1px solid #ecf0f1;
}

.tags-table-container tbody tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

.tags-table-container tbody tr:last-child td {
    border-bottom: none;
}

/* Action Buttons */
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-outline-primary {
    border-color: #3498db;
    color: #3498db;
}

.btn-outline-primary:hover {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
}

.btn-outline-danger {
    border-color: #e74c3c;
    color: #e74c3c;
}

.btn-outline-danger:hover {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    border-radius: 10px 10px 0 0;
    border-bottom: none;
    padding: 20px 25px;
}

.modal-title {
    font-weight: 600;
    margin: 0;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    border-top: 1px solid #ecf0f1;
    padding: 20px 25px;
    border-radius: 0 0 10px 10px;
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-control.is-invalid {
    border-color: #e74c3c;
}

.invalid-feedback {
    display: block;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
}

/* Button Styles */
.btn {
    border-radius: 6px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #7f8c8d, #6c7b7d);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tags-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .tags-header h2 {
        font-size: 24px;
    }
    
    .tags-container {
        padding: 20px;
        margin: 0 10px 20px 10px;
    }
    
    .tags-table-container {
        font-size: 14px;
    }
    
    .tags-table-container th,
    .tags-table-container td {
        padding: 10px 8px;
    }
    
    .modal-dialog {
        margin: 10px;
    }
}

/* Empty State */
.text-center.text-muted {
    padding: 40px 20px;
    font-style: italic;
    color: #7f8c8d;
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Memory Images Styles */
.memory-images-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    max-width: 200px;
}

.image-item {
    position: relative;
    display: inline-block;
}

.memory-thumbnail {
    transition: transform 0.2s ease;
    border: 2px solid #e9ecef;
}

.memory-thumbnail:hover {
    transform: scale(1.1);
    border-color: #3498db;
}

.image-delete-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    padding: 0;
    border-radius: 50%;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.image-item:hover .image-delete-btn {
    opacity: 1;
}

.image-count {
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
}

/* Legacy single image styles for backward compatibility */
.memory-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-actions {
    display: flex;
    gap: 5px;
}

.image-actions .btn {
    padding: 2px 6px;
    font-size: 10px;
}

/* File Upload Styles */
.form-control[type="file"] {
    padding: 8px 12px;
}

.form-control[type="file"]::-webkit-file-upload-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.form-control[type="file"]::-webkit-file-upload-button:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
}

/* Image Modal Styles */
#imageModal .modal-body {
    padding: 20px;
    background: #f8f9fa;
}

#imageModal img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Existing Images in Modal Styles */
.existing-images-container {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.existing-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.existing-image-item {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.existing-image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 8px;
}

.existing-image-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.existing-image-thumbnail:hover {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

.image-overlay .image-delete-btn {
    position: static;
    opacity: 1;
    width: 24px;
    height: 24px;
    font-size: 12px;
    background: rgba(231, 76, 60, 0.9);
    border: none;
    color: white;
}

.image-overlay .image-delete-btn:hover {
    background: #e74c3c;
    transform: scale(1.1);
}

.image-info {
    text-align: center;
    padding: 0 4px;
}

.image-info small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px;
    line-height: 1.2;
}

/* Image Analysis Styles */
.image-analysis {
    margin-top: 4px;
}

.image-analysis .badge {
    font-size: 9px;
    padding: 2px 6px;
    margin-right: 2px;
    margin-bottom: 2px;
    display: inline-block;
}

.image-badges {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
    padding: 0 2px;
}

.image-badges .badge {
    font-size: 8px;
    padding: 1px 4px;
    line-height: 1.2;
    border-radius: 3px;
}

.badge-sm {
    font-size: 8px;
    padding: 1px 4px;
    line-height: 1.2;
}

/* Image Analysis Info in Modal */
.image-analysis-info {
    margin-top: 15px;
}

.image-analysis-info .card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.image-analysis-info .card-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 8px 8px 0 0;
    padding: 12px 15px;
    border-bottom: none;
}

.image-analysis-info .card-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
}

.image-analysis-info .card-header i {
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.image-analysis-info .card-body {
    padding: 15px;
    background: white;
    border-radius: 0 0 8px 8px;
}

.image-analysis-info .card-body > div {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.image-analysis-info .card-body > div:last-child {
    margin-bottom: 0;
}

.image-analysis-info strong {
    min-width: 80px;
    font-weight: 600;
    color: #2c3e50;
    margin-right: 10px;
    font-size: 13px;
}

.image-analysis-info .badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
}

.image-analysis-info .text-muted {
    font-size: 12px;
    color: #6c757d;
}

/* Focus Rectangle Visualization */
.focus-rectangle {
    position: absolute;
    border: 2px solid #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    pointer-events: none;
    z-index: 10;
}

/* Responsive adjustments for existing images */
@media (max-width: 768px) {
    .existing-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .image-wrapper {
        height: 70px;
    }
    
    .existing-image-item {
        padding: 6px;
    }
    
    .image-analysis-info .card-body {
        padding: 12px;
    }
    
    .image-analysis-info strong {
        min-width: 70px;
        font-size: 12px;
    }
    
    .image-analysis-info .badge {
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* Video Styles */
.video-container {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.video-container .btn {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
}

.video-container .btn-success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border: none;
    color: white;
}

.video-container .btn-success:hover {
    background: linear-gradient(135deg, #27ae60, #229954);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

.video-container .btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    color: white;
}

.video-container .btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.video-container .btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    border: none;
    color: white;
}

.video-container .btn-info:hover {
    background: linear-gradient(135deg, #138496, #117a8b);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

/* Video Modal Styles */
#videoModal .modal-body {
    padding: 20px;
    background: #f8f9fa;
}

#videoModal video {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 100%;
}

/* Video Creation Modal Styles */
#videoCreationModal .modal-body {
    padding: 25px;
}

#videoCreationModal .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

#videoCreationModal .form-control {
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.2s ease;
}

#videoCreationModal .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

#videoCreationModal .form-select {
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.2s ease;
}

#videoCreationModal .form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

#videoCreationModal .alert-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 15px;
}

#videoCreationModal .alert-info i {
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.9);
}

/* Video Status Badges */
.badge {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22) !important;
    color: white;
}

.badge.bg-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    color: white;
}

.badge.bg-success {
    background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
    color: white;
}

.badge.bg-info {
    background: linear-gradient(135deg, #17a2b8, #138496) !important;
    color: white;
}

.badge.bg-primary {
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
    color: white;
}

/* Video Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Video Styles */
@media (max-width: 768px) {
    .video-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .video-container .btn {
        width: 100%;
        font-size: 12px;
        padding: 6px 12px;
    }
    
    #videoModal .modal-dialog {
        margin: 10px;
    }
    
    #videoCreationModal .modal-dialog {
        margin: 10px;
    }
    
    .badge {
        font-size: 9px;
        padding: 3px 6px;
    }
}
