/* Photo modal styles */
.photo-view-modal .modal-content {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.photo-view-modal .modal-header {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.photo-view-modal .modal-title {
    font-weight: 500;
    font-size: 18px;
}

.photo-view-modal .modal-body {
    padding: 0;
}

.photo-view-modal #photoContainer {
    position: relative;
    overflow: hidden;
    background-color: #111;
}

.photo-view-modal #fullPhoto {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    transition: all 0.3s ease;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.photo-view-modal #fullPhoto:active {
    cursor: grabbing;
}

/* Button styles */
.photo-view-modal .btn-outline-light {
    border-width: 1px;
    font-size: 14px;
    padding: 4px 8px;
    transition: all 0.2s ease;
}

.photo-view-modal .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mobile optimizations */
@media (max-width: 767px) {
    .photo-view-modal .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100%;
    }
    
    .photo-view-modal .modal-content {
        height: 100%;
        border-radius: 0;
    }
    
    .photo-view-modal #photoContainer {
        height: calc(100vh - 60px) !important;
    }
    
    .photo-view-modal .btn-sm {
        padding: 2px 6px;
        margin-right: 5px !important;
    }
    
    .photo-view-modal .modal-header {
        padding: 8px 10px;
    }
    
    .photo-view-modal .modal-title {
        font-size: 16px;
    }
}