.grid-stack {
    background: #fcfcfc;
    border: 1px solid rgba(0,0,0,0.1);
    min-height:100px;
    width:calc(100% - 60px);
}
.action{
    display:flex;
    flex-direction: column;
    width:60px;
}
.action i{
    width:90%;
    height:30px;
    line-height: 30px;
    text-align: center;
    background:rgba(0,0,0,0.05);
    border:1px rgba(0,0,0,0.15) solid;
    border-radius: 5px;
    cursor:pointer;
    box-sizing: border-box;
    margin:2px 5%;
}
.grid-stack-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size:18px;
    line-height: 80px;
    font-weight: bold;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    background-color: #fff;
}
.grid-stack-item i{
    float: left;
    width: 36px;
    height: 34px;
    margin: 0;
    text-align: center;
}
.grid-stack-item i:before{
    content: "\f111";
    position:absolute;
    right:4px;
    top:4px;
    font-family: dashicons;
    color: #999;
    padding: 7px 0;
    transition: all .1s ease-in-out;
    display: inline-block;
    line-height: 1;
    font-weight: 400;
    font-style: normal;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    width: 20px;
    height: 20px;
    font-size: 20px;
    vertical-align: top;
    text-align: center;
    z-index:9999;
    cursor:pointer;
}
/*.grid-stack-item-content{
    background-color: #f9f9f9;
    border-radius: 4px;
}*/
#trash{
    display:block;
    width:100%;
    margin:10px 0;
    padding: 40px 10px;
    text-align: center;
    font-weight: bold;
    color:red;
    background-color: #ffdada;
    border:1px red solid;
}
/*
.grid-stack-item-content {
    background-color: #007bff;
    color: white;
    text-align: center;
    line-height: 100px;
    border-radius: 5px;
    cursor: pointer;
}*/

/* Modal stili */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 99999;
}

.modal.active {
    display: block;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.modal-overlay.active {
    display: block;
}
#settings-form div{
    margin-bottom:4px;
}
#settings-form input,
#settings-form select,
#settings-form textarea{
    width:300px;
}
#settings-form textarea{
    min-height:140px;
}
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #4caf50;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #4caf50;
    border-radius: 50%;
    cursor: pointer;
}

.alignment-options {
    display: flex;
    gap: 10px;
}

.alignment-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.align-box {
    display: block;
    padding: 10px 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
}

input[type="radio"].headerpanel{
    display: none;
}

input[type="radio"]:checked + .align-box {
    background-color: #4caf50;
    color: #fff;
    border-color: #4caf50;
}