/**
 * SEE System - Styles
 * Modern, clean, responsive design
 */

/* ============================================================================
   Variables & Reset
   ============================================================================ */

:root {
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --secondary-color: #764ba2;
    --success-color: #48bb78;
    --danger-color: #f56565;
    --warning-color: #ed8936;
    --dark: #2d3748;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-600: #718096;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
    --white: #ffffff;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
}

/* ============================================================================
   Login Page
   ============================================================================ */

.login-page {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    animation: fadeInUp 0.5s ease;
}

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

.login-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.login-header p {
    color: var(--gray-600);
    font-size: 16px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 14px;
}

.login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    color: var(--gray-600);
    font-size: 13px;
}

/* ============================================================================
   Dashboard Page
   ============================================================================ */

.dashboard-page {
    background: var(--gray-50);
    min-height: 100vh;
}

.top-nav {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 22px;
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-info {
    font-size: 14px;
    color: var(--gray-600);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

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

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-800);
}

.stat-label {
    font-size: 13px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filters Panel */
.filters-panel {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-input,
.filter-select {
    flex: 1;
    min-width: 200px;
    padding: 10px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 22px;
    color: var(--gray-800);
}

.results-count {
    color: var(--gray-600);
    font-size: 14px;
}

/* Evidence Grid */
.evidencias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.evidence-item {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.evidence-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.evidence-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--gray-100);
}

.evidence-info {
    padding: 15px;
}

.evidence-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.evidence-type-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-imagen {
    background: rgba(72, 187, 120, 0.1);
    color: var(--success-color);
}

.badge-video {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
}

.evidence-orden {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 15px;
}

.evidence-filename {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.evidence-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.evidence-actions {
    display: flex;
    gap: 8px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #e53e3e;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.page-info {
    font-size: 14px;
    color: var(--gray-600);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius);
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
    z-index: 1001;
}

.modal-small {
    max-width: 500px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 1002;
}

.modal-close:hover {
    background: var(--gray-100);
}

.modal-body {
    padding: 30px;
}

.modal-body h3 {
    margin-bottom: 20px;
    color: var(--gray-800);
}

.modal-body img,
.modal-body video {
    max-width: 100%;
    border-radius: var(--radius-sm);
}

/* Utilities */
.hidden {
    display: none !important;
}

.error-message {
    background: rgba(245, 101, 101, 0.1);
    border: 2px solid var(--danger-color);
    color: var(--danger-color);
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
}

.success-message {
    background: rgba(72, 187, 120, 0.1);
    border: 2px solid var(--success-color);
    color: var(--success-color);
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
}

.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-600);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .evidencias-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .evidence-thumbnail {
        height: 150px;
    }

    .filters-panel {
        flex-direction: column;
    }

    .filter-input,
    .filter-select {
        min-width: 100%;
    }

    .nav-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================================================
   View Controls
   ============================================================================ */

.view-controls {
    display: flex;
    gap: 5px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--radius-sm);
    margin-right: 15px;
}

.view-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--gray-600);
}

.view-btn:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.view-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-actions {
    display: flex;
    align-items: center;
}

/* ============================================================================
   Grouped Evidence View
   ============================================================================ */

.evidence-group {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.group-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.group-header:hover {
    background: var(--gray-100);
}

.group-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.folder-icon {
    font-size: 24px;
    transition: all 0.3s ease;
}

.group-orden {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
}

.group-stats {
    font-size: 13px;
    color: var(--gray-600);
}

.group-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.group-actions .btn {
    white-space: nowrap;
}

.group-toggle {
    color: var(--gray-600);
}

.toggle-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.evidence-group.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.group-content {
    padding: 20px;
}

.group-content .evidencias-grid {
    margin-bottom: 0;
}

/* ============================================================================
   Evidence Card Enhancements
   ============================================================================ */

.evidence-thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
}

.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    backdrop-filter: blur(4px);
}

.video-thumbnail-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-thumbnail-placeholder:hover {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
}

.video-thumbnail-placeholder:hover .play-button {
    transform: scale(1.1);
    background: var(--primary-color);
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    padding-left: 5px;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

/* ============================================================================
   List and Details Table Views
   ============================================================================ */

.evidence-table {
    width: 100%;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.evidence-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.evidence-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.evidence-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}

.evidence-table tr:last-child td {
    border-bottom: none;
}

.evidence-table tbody tr {
    transition: background 0.2s ease;
}

.evidence-table tbody tr:hover {
    background: var(--gray-50);
}

.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.file-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.file-link:hover {
    text-decoration: underline;
}

/* Details table - wider for more columns */
.evidence-table-details {
    font-size: 13px;
}

.evidence-table-details td,
.evidence-table-details th {
    padding: 10px 12px;
}

/* ============================================================================
   Mobile Responsive for New Features
   ============================================================================ */

@media (max-width: 768px) {
    .view-controls {
        width: 100%;
        justify-content: space-between;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .section-actions {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .group-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .evidence-table {
        font-size: 12px;
    }

    .evidence-table th,
    .evidence-table td {
        padding: 8px 10px;
    }

    /* Stack table horizontally on very small screens */
    @media (max-width: 480px) {
        .evidence-table thead {
            display: none;
        }

        .evidence-table tr {
            display: block;
            margin-bottom: 15px;
            border: 1px solid var(--gray-200);
            border-radius: var(--radius-sm);
        }

        .evidence-table td {
            display: block;
            text-align: right;
            padding: 10px;
            border-bottom: 1px solid var(--gray-100);
        }

        .evidence-table td:before {
            content: attr(data-label);
            float: left;
            font-weight: 600;
            color: var(--gray-600);
        }
    }
}

/* Compact Grid for Expanded View */
.evidencias-grid.compact {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.evidencias-grid.compact .evidence-thumbnail {
    height: 150px;
    /* Reduced height for compact view */
}

.evidencias-grid.compact .video-thumbnail-placeholder {
    height: 150px;
}

.evidencias-grid.compact .evidence-info {
    padding: 10px;
    font-size: 0.9em;
}

/* Delete Button Overlay */
.delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(245, 101, 101, 0.9);
    /* Red */
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.2s ease;
    font-size: 14px;
}

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

.evidence-thumbnail-wrapper:hover .delete-btn {
    opacity: 1;
}

/* ============================================================================
   Evidence Cards Grid (New Improved Layout)
   ============================================================================ */

.evidence-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    padding: 16px;
}

.evidence-card {
    position: relative;
    background: var(--dark-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.evidence-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.evidence-card-media {
    position: relative;
    width: 100%;
    height: 120px;
    cursor: pointer;
    overflow: hidden;
    background: #1a1a2e;
}

.evidence-card-media .evidence-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.evidence-card-media:hover .evidence-media {
    transform: scale(1.05);
}

.evidence-card-media .delete-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.evidence-card:hover .delete-btn {
    opacity: 1;
}

.media-type-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    pointer-events: none;
}

.evidence-card-footer {
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.evidence-filename {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.evidence-date {
    font-size: 11px;
    color: var(--text-muted);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .evidence-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
        padding: 10px;
    }

    .evidence-card-media {
        height: 100px;
    }

    .evidence-card-footer {
        padding: 8px 10px;
    }

    .evidence-filename {
        font-size: 11px;
    }

    .evidence-date {
        font-size: 10px;
    }
}

/* ============================================================================
   Lightbox / Gallery Carousel
   ============================================================================ */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Ensure content fits within bounds */
    width: 100%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-content video {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: #000;
}

/* Controls */
.lightbox-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10001;
    user-select: none;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 30px;
    font-weight: 300;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Footer / Toolbar */
.lightbox-toolbar {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px;
    z-index: 10002;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 12px;
    border-radius: 20px;
}

.lightbox-download-btn {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.lightbox-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Mobile Adjustments */
@media (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 18px;
        background: rgba(0, 0, 0, 0.3);
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.3);
    }

    .lightbox-content {
        max-width: 100%;
    }
}