.lightview-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightview-container 
{
    position: relative;
    width: 100%;
    height: 100%;
    background: #222;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lightview-content 
{
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lightview-media-container 
{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    padding: 20px;
}

.lightview-image 
{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightview-pdf-canvas 
{
    max-width: 100%;
    border: 1px solid #444;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.lightview-caption,
.lightview-counter 
{
    color: white;
    text-align: center;
    padding: 10px;
    background: rgba(0,0,0,0.7);
}

.lightview-nav 
{
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.lightview-prev,
.lightview-next 
{
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 20px;
    background: rgba(0,0,0,0.5);
    pointer-events: all;
}

.lightview-close {
    position: absolute;
    top: 0px;
    right: 10px;
    color: white;
    font-size: 60px;
    cursor: pointer;
    z-index: 10;
}

.lightview-pdf-controls 
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.7);
}

.lightview-pdf-controls button 
{
    padding: 5px 10px;
    background: #444;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.lightview-pdf-controls button:hover 
{
    background: #555;
}

.lightview-error 
{
    color: white;
    padding: 20px;
    text-align: center;
}

.lightview-video 
{
    max-width: 100%;
    max-height: 80vh;
}

.lightview-text-viewer
{
    display: flex;
    width: 100%;
    overflow: auto;
    background: #ffffff;
    color: #1f2933;
    border-radius: 4px;
    text-align: left;
    align-items: stretch;
}

.lightview-text-lines,
.lightview-text-content
{
    margin: 0;
    padding: 18px 0;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre;
}

.lightview-text-lines
{
    flex: 0 0 auto;
    min-width: 54px;
    padding-left: 12px;
    padding-right: 12px;
    border-right: 1px solid #d7dde2;
    background: #f4f7f9;
    color: #7b8794;
    text-align: right;
    user-select: none;
    box-sizing: border-box;
    overflow: hidden;
}

.lightview-text-content
{
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 16px;
    padding-right: 18px;
    overflow: visible;
    box-sizing: border-box;
}

.lightview-unsupported 
{
    color: white;
    text-align: center;
    padding: 20px;
}

.lightview-unsupported a 
{
    color: #4da6ff;
    text-decoration: none;
}

.lightview-unsupported a:hover 
{
    text-decoration: underline;
}

.lightview-pdf-fallback
{
    display:none;
}
