.rightside-popup-wrapper {
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    min-height: 100vh;
}

.rightside-popup-wrapper .content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stpopup-right-side {
    position: absolute;
    width: 200px;
    background-color: white;
    /* border: 2px solid #333;
    border-radius: 6px; */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
}

.stpopup-right-side h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.stpopup-right-side p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.stpopup-right-side .close-btn {
    position: absolute;
    top: 5px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
}

.stpopup-right-side .close-btn:hover {
    color: #333;
}

.demo-text {
    line-height: 1.6;
    margin-bottom: 20px;
}

.instruction {
    background-color: #e8f4fd;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #2196F3;
    margin-bottom: 20px;
}


/** Data Source fields Styling */

.ds-fields-wrapper {
    font-family: Arial, sans-serif;
    margin: 20px;
    background: #f9f9f9;
}

.ds-fields-wrapper .container {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-width: 500px;
}

.ds-fields-wrapper .header {
    background: #333;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
}

.ds-fields-wrapper .field {
    display: flex;
    align-items: center;
    padding: 4px 15px;
    border-bottom: 1px solid #eee;
}

.ds-fields-wrapper .field:last-child {
    border-bottom: none;
}

.ds-fields-wrapper .icon {
    width: 32px;
    height: 24px;
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: opacity 0.2s;
}

.ds-fields-wrapper .icon:hover {
    opacity: 0.8;
}

.ds-fields-wrapper .string { background: #2196F3; }
.ds-fields-wrapper .integer { background: #FF5722; }
.ds-fields-wrapper .boolean { background: #FF9800; }
.ds-fields-wrapper .datetime { background: #9C27B0; }
.ds-fields-wrapper .text { background: #4CAF50; }

.ds-fields-wrapper .name {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.ds-fields-wrapper .add-btn {
    background: #2196F3;
    color: white;
    border: none;
    padding: 8px 15px;
    margin: 5px 15px;
    border-radius: 3px;
    cursor: pointer;
}

.ds-fields-wrapper .type-menu {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 100;
    min-width: 100px;
}

.ds-fields-wrapper .type-option {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 12px;
}

.ds-fields-wrapper .type-option:hover {
    background: #f5f5f5;
}

.ds-fields-wrapper .type-option .mini-icon {
    width: 20px;
    height: 16px;
    border-radius: 2px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    color: white;
}

/** End Data Source fields Styling */




/** Spinner */

.resizable-spinner-wrap {
    display: flex;
    justify-content: center;
}

.resizable-spinner-wrap .container {
    text-align: center;
    width: 18px;
    display: flex;
    align-items: center;
    height: 4px;
    padding-top: 26px;
}

.resizable-spinner-wrap .spinner {
    --size: 14px;
    
    width: var(--size);
    height: var(--size);
    border: calc(var(--size) / 5) solid #d0d0d0;
    border-top: calc(var(--size) / 5) solid #3c3a3a;
    border-radius: 50%;
    animation: resizable-spinner-spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes resizable-spinner-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.resizable-spinner-wrap .spinner-small { --size: 16px; }
.resizable-spinner-wrap .spinner-medium { --size: 40px; }
.resizable-spinner-wrap .spinner-large { --size: 60px; }
.resizable-spinner-wrap .spinner-xl { --size: 80px; }


.resizable-spinner-wrap .size-controls {
    margin-top: 30px;
}

.resizable-spinner-wrap .size-controls button {
    margin: 0 5px;
    padding: 8px 16px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.resizable-spinner-wrap .size-controls button:hover {
    background-color: #2980b9;
}

/** End of Spinner */