﻿.list_item {
    height: 2rem;
    padding-left: 25px;
    padding-top: 5px;
    cursor: pointer;
    transition: opacity 0.2s;
    opacity: 1;
}

    .list_item:nth-child(even) {
        background-color: #f5f5f5;
    }

.list_item:nth-child(odd):hover {
    background-color: #ddd;
}

.list_item:nth-child(even):hover {
    background-color: #ccc;
}

.div_list_item {
    display: flex; 
    width: 100%;
}

.div_list_item:nth-child(even) {
    background-color: #eee;
}

    .div_list_item:nth-child(odd):hover {
        background-color: #ddd;
    }

    .div_list_item:nth-child(even):hover {
        background-color: #ccc;
    }

.div_list_table {
    margin-top: 20px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.div_list_item_header {
    cursor: pointer;
    width: 90%;
    padding-left: 15px;
    line-height: 1.75;
}

.delete_icon {
    cursor: pointer;
}

    .delete_icon:hover {
        color: red;
    }

.input_panel {
    display: flex;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 10px;
}

.input_panel_header {
    font-size: 20px;
    align-items: center;
    align-content: start;
    min-width: 150px;
    padding-left: 15px;
    color: #555;
}

.data_input_field {
    color: #555;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    padding: 10px;
    min-width: 350px;
}

    .data_input_field:focus {
        outline: 2px solid #b2d8d8;
    }

.btn_error {
    color: white;
    font-weight: 500;
    background-color: #cc1b29;
    border-radius: 5px;
    border: 0px;
    line-height: 2;
    padding: 5px 35px 5px 35px;
}

.btn_success {
    color: white;
    font-weight: 500;
    background-color: #1bcc3e;
    border-radius: 5px;
    border: 0px;
    line-height: 2;
    padding: 5px 35px 5px 35px;
}

.btn_check {
    color: white;
    font-weight: 500;
    background-color: #1b97cc;
    border-radius: 5px;
    border: 0px;
    line-height: 2;
    padding: 5px 35px 5px 35px;
}

.btn_confirm {
    color: white;
    font-weight: 500;
    background-color: #2877c7;
    border-radius: 5px;
    padding: 1px 20px;
    border: 0px;
    margin-left: 20px;
}

.list_field {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden
}

::-webkit-scrollbar {
    width: 16px;
    height: 16px; /* For horizontal bars */
    background: #f3f4f6;
    /*border-radius: 10px;*/
}

::-webkit-scrollbar-track {
    background: #e5e7eb; /* Tailwind gray-200: light, visible bar */
    /*border-radius: 10px;*/
    margin: 2px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(120deg, #008393 0%, #4fd1c5 100%);
    border-radius: 10px;
    border: 4px solid #e5e7eb; /* Matches track, for thumb-in-bar look */
    min-height: 36px;
    transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(120deg, #005b72 0%, #06b6d4 100%);
}

::-webkit-scrollbar-corner {
    background: #f3f4f6;
}

.btn-actions.attention {
    animation: grow-shake 0.8s ease-in-out;
}

@keyframes grow-shake {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.1) rotate(-3deg); }
    20% { transform: scale(1.1) rotate(3deg); }
    30% { transform: scale(1.1) rotate(-3deg); }
    40% { transform: scale(1.1) rotate(3deg); }
    50% { transform: scale(1.1) rotate(0deg); }
    100% { transform: scale(1); }
}