﻿.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-container {
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 204, 0.8);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 24px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(0, 136, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.lightbox-controls {
    position: absolute;
    bottom: -55px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.lightbox-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 204, 0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-family: Arial, sans-serif;
    z-index: 10;
}

.lightbox-btn:hover {
    background: rgba(0, 136, 255, 0.9);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.lightbox-btn.disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

.lightbox-btn.disabled:hover {
    background: #666;
    transform: scale(1);
    opacity: 0.5;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 204, 0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-family: Arial, sans-serif;
}

.lightbox-nav-btn:hover {
    background: rgba(0, 136, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.disabled {
    background: rgba(102, 102, 102, 0.5);
    cursor: not-allowed;
}

.lightbox-nav-btn.disabled:hover {
    background: rgba(102, 102, 102, 0.5);
    transform: translateY(-50%);
}

.lightbox-nav-btn.prev {
    left: -25px;
}

.lightbox-nav-btn.next {
    right: -25px;
}

.lightbox-btn-reset {
    font-size: 18px;
}

.lightbox-zoom-info {
    position: absolute;
    top: -45px;
    left: 10px;
    background: rgba(0, 102, 204, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 10;
}