* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #89CFF0;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.kanban-board {
    display: flex;
    gap: 20px;
    overflow-x: scroll;
    white-space: nowrap;

}

.kanban-column {
    background-color: #f7f7f7;
    border-radius: 8px;
    width: 200px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.kanban-column-add {
    background-color: #f7f7f7;
    border-radius: 8px;
    width: 200px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.2;
}

.kanban-column-input {
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    outline: none;
    width: 100%;
    margin-top: 5px;
    border-radius: 5px;
}

.kanban-column-input:focus {
    box-shadow: 0 0 0 3px #3498db;
    border: none;
    outline: none;
}

.kanban-column-add:hover {
    opacity: 1;
}

.column-header {
    font-weight: bold;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
}

.card:hover {
    box-shadow: 0 0 0 3px #3498db;
}

.baixa {
    background-color: #6ba3ff;
}

.media {
    background-color: #b593ff;
}

.alta {
    background-color: #ff7474;
}

.nova {
    background-color: #ff7474;
}

.card {
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.add-card {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.add-card:hover {
    color: #000;
}

.card-input {
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    outline: none;
    width: 100%;
    margin-top: 5px;
    border-radius: 5px;
}

.card-input:focus {
    box-shadow: 0 0 0 3px #3498db;
    border: none;
    outline: none;
}

.add-card-button {
    background-color: #4a90e2;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    display: block;

}

/* Efeito de hover */
.add-card-button:hover {
    background-color: #357ab8;
}

.edit-card {
    background-color: transparent;
    border: none;
    position: absolute;
    right: 0;
    width: 20px;
    height: 20px;

}

.edit-card:hover {
    background-color: #89CFF0;
    border-radius: 70%;
    width: 20px;
    height: 20px;
    display: inline-block;
    transition: background-color 0.3s ease;

}

.edit-list{
    background-color: transparent;
    border: none;
    position: absolute;
    right: 0;
    width: 20px;
    height: 20px;
    
}

.edit-list:hover{
    background-color: #89CFF0;
    border-radius: 70%;
    width: 20px;
    height: 20px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.card-descricao {
    width: 100%;
    height: 100px;
    /* Aumenta a altura do campo */
    padding: 10px;
    border-radius: 4px;
    resize: none;
    /* Evita o redimensionamento do campo */
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    outline: none;
    margin-top: 5px;

}

.card-descricao:focus {
    box-shadow: 0 0 0 3px #3498db;
    border: none;
    outline: none;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/*TESTANDO*/


/* Fundo do modal */
dialog::backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    z-index: 999;
    display: none;
}

/* Modal */
dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
    /* Fica na frente do backdrop */
    display: none;
    /* Inicialmente escondido */
}

/* Cabeçalho do modal */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

/* Título do modal */
.modal-title {
    font-size: 20px;
    font-weight: 500;
    color: #111928;
}

/* Botão de fechar modal */
.close-modal {
    cursor: pointer;
    border: none;
    background-color: transparent;
    color: #9CA3AF;
    font-size: 18px;
}

/* Corpo do modal */
.modal-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Input do formulário */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Label do input */
.input-group label {
    font-size: 14px;
    font-weight: 500;
    color: #111928;
}

/* Input */
.input-group input {
    border: 1px solid #D1D5DB;
    background-color: #F9FAFB;
    border-radius: 8px;
    padding: 10px 16px;
}

/* Input com foco */
.input-group input:focus {
    outline: 1px solid #6366f1;
}

.updateButton {
    background-color: #6366F1;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
}

.deleteButton {
    background-color: rgb(220, 53, 69);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
}

.dropdown-lista {
    min-width: none;
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-lista * {
    box-sizing: border-box;
}

.select-lista {
    border: none;
    outline: none;
    padding: 10px;
    border-radius: 4px;
    resize: none;
    /* Evita o redimensionamento do campo */
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    outline: none;
    margin-top: 5px;
    transition: background 0.3s;
}

.select-clicked {
    border: 2px #000 solid;
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    outline: none;
    margin-top: 5px;
    transition: background 0.3s;
}

.select-lista:hover {
    background-color: #f7f7f7;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    outline: none;
    margin-top: 5px;
    transition: background 0.3s;
}

.current-lista {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    outline: none;
    margin-top: 5px;
}

.current-lista-rotate {
    transform: rotate(180deg);
}

.options-lista {
    list-style: none;
    padding: 0.2em 0.5em;
    background: #323741;
    border: 1px #363a43 solid;
    box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
    border-radius: 0.5em;
    color: #9fa5b5;
    position: absolute;
    top: 3em;
    left: 50%;
    width: 100%;
    transform: tranlatex(-50%);
    opacity: 0;
    display: none;
    transition: 0.2s;
    z-index: 1;
}

.options-lista li {
    padding: 0.5em 0;
    margin: 0.2em 0;
    border-radius: 0.5em;
    transition: 0.2s;
    cursor: pointer;

}

.options-lista li:hover {
    background: #6366f1;
}

.active {
    background: #6366f1;
}

.options-lista-open {
    display: block;
    opacity: 1;
}

.add-list-button {
    background-color: #4a90e2;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}