/* Habits Exercise Style Start */
.box {
    border: 1px solid #ccc;
    padding: 10px;
    height: 350px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e09d74 #f1f1f1;
}

.box::-webkit-scrollbar {
    width: 8px;
}

.box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.box::-webkit-scrollbar-thumb {
    background: #f9863e;
    border-radius: 10px;
    border: 1px solid #f1f1f1;
}

.box::-webkit-scrollbar-thumb:hover {
    background: #e55a00;
}

.box::-webkit-scrollbar-button {
    display: none;
}

.box2 {
    position: relative;
}

.box2::after {
    content: "Drag & Drop";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #888;
    font-size: 16px;
    visibility: visible;
}

.box2:not(:empty)::after {
    visibility: hidden;
}

#submit-button {
    background: #e55a00;
    color: #fff;
}

.item {
    background-color: #ffff;
    padding: 8px;
    margin-bottom: 8px;
    cursor: grab;
    height: max-content;
    display: flex;
    align-items: center;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 2px;
}

.item.dragging {
    opacity: 0;
}

.item.dragging + .selects-container {
    visibility: hidden;
}

.selects-container {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    margin-bottom: 8px;
    justify-content: space-between;
}

.drag-container {
    border: 1px dashed orange !important;
    height: 350px;
    padding: 15px;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
}

.drag-container .item {
    border: 1px dotted orangered;
}

.drag-container .item i {
    margin-right: 8px;
    color: orangered;
}

.drop-container {
    border: 1px dashed rgb(121, 190, 18) !important;
    height: 350px;
    padding: 15px;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
}

.drop-container .item {
    border: 1px dotted rgb(121, 190, 18);
}

.drop-container .item i {
    margin-right: 8px;
    color: rgb(1, 206, 1);
}

/* .card-header {
    border: 1px dashed #4d4d4d !important;
} */

.social-icon {
    width: 18px;
    height: 18px;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: top;
}


/* Loading buttons */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

.result-screentime .result-icon{
    background-color: slateblue;
    display: block;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.result-screentime i{
    color: white;
}

.result-screentime{
    font-size: 15px;
    color: slateblue;
}

.result-screentime span{
    margin-left: 10px;
}

.action-button:hover{
    color: white;
}

.action-button{
    font-size: 13px;
    background-color: goldenrod;
    padding: 5px 10px;
    color: white;
}

.action-button-uncomplete{
    background-color: rgba(207, 7, 81, 0.923);
}

.uncomplete-task .result-screentime{
    color: #e55a00;
}

.uncomplete-task .result-screentime .result-icon{
    background-color: #e55a00;
}

#next-button{
    background: #05a04b;
    color: #fff;
}
/* Habits Exercise Style End */

