

.draggable {
    font-size: clamp(9px, 2vh, 24px);
    color: white;
    top: 7vh;
    position: absolute;
    width: 13vw;
    background-color: #333;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    cursor: move;
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 100;
}

.header {
    display: flex;
    align-items: center;
    background-color: #444;
    padding: 10px;
    border-bottom: 2px solid #555;
    justify-content: space-between;
    transition: padding 0.3s ease;
}

.box {
    width: 20px;
    height: 20px;
    background-color: #555;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #007BFF;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.text {

    font-weight: bold;
    transition: opacity 0.3s ease;
}

.minimize {
    width: 20px;
    height: 20px;
    background-color: #555;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto; /* Align to the right */
    margin-right: 0;
}

.minimize::before {
    content: '-';
    color: #007BFF;
  
}

.content {
    top: 6vh;
    padding: 10px;
    transition: max-height 0.3s ease;
    max-height: 50vh;
    overflow: hidden;
    border: 1px solid rgb(115, 115, 115);
}

.draggable.minimized {
    height: 40px; /* Height of the header */
}

.draggable.minimized .content {
    display: none;
}

.draggable.minimized .header {
    padding-left: 10px;
    padding-right: 10px;
}

.draggable.minimized .text {
    opacity: 0;
}

.title {
 
    font-weight: bold;
    color: #007BFF;
}

.resize-handle {
    width: 10px;
    height: 10px;
    background-color: #555;
    border-radius: 50%;
    position: absolute;
    bottom: -5px; /* Adjust to place the handle outside the draggable area */
    right: -5px;
    cursor: se-resize;
    transform: translate(50%, 50%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Add a shadow for better visibility */
}