/* Flowchart-Specific Styles */

/* Viewer container */
.viewer-wrapper {
    width: 82vw;
    max-width: 82vw;
    height: 77vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px;
    overflow: hidden;
    flex-grow: 1;
}

.viewer {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 2px solid #ffbe55;
    background-color: rgba(14, 15, 16, 0.6);
    flex-shrink: 0;
    border-radius: 15px;
    position: relative;
    box-sizing: border-box;
}

.image-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: none;
    cursor: grab;
    user-select: none;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* Controls styling specific to flowchart */
.controls {
    display: flex;
    justify-content: center; /* Center the buttons */
    align-items: center;
    margin: 20px 0; /* Adjusted margin */
    z-index: 1;
}

.controls button {
    margin: 5px;
    padding: 5px 10px;
    background-color: rgba(14, 15, 16, 0.5);
    color: #ffbe55;
    border: 2px solid #ffbe55;
    cursor: pointer;
    font-size: 14px;
    border-radius: 15px;
    max-width: 100px;
    font-family: 'Open Sans', sans-serif;
}

.controls button:hover {
    background-color: #ffbe55;
    color: #130e0c;
}
.flowchart-note {
    font-size: 14px;
    text-align: center;
    padding: 10px;
    margin: 5px;
}

img {
    pointer-events: none;
}
