.ketcher-iframe {
    width: 100%;
    height: calc(100% - 60px);
    margin-top: 10px;
}
.ketcher-modal {
    display: none;
    position: fixed;
    z-index: 9999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.ketcher-modal-content {
    background-color: #fefefe;
    margin: 6vh auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 1100px;
    height: 80vh;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.ketcher-close-btn {
    color: #666;
    font-size: 34px;
    font-weight: bold;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    width: 30px;
    text-align: center;
    position: absolute;
    right: 2px;
    top: 2px;
    border-radius: 2px;
}

.ketcher-close-btn:hover {
    color: #000;
    background: #f3f3f3;
}

#ke-drawstructure {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    margin-top: 15px;
}
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    /*border-top: 5px solid #3498db;*/
    border-top: 5px solid #bafb54;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    margin-bottom: 15px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-text {
    color: #333;
    font-size: 16px;
}
.draw-structure{}