body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 20px;
    color: #333;
}

h2,
h3 {
    margin-top: 0;
}

form {
    margin-bottom: 10px;
}

select,
input[type="text"],
input[type="date"],
textarea,
button {
    font-size: 14px;
    padding: 6px 10px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}

button {
    background-color: #1976d2;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

button:hover {
    background-color: #1259a7;
}

.btn-add {
    background-color: #43a047;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    margin: 15px 0;
}

.tabs {
    margin: 15px 0;
}

.tab {
    display: inline-block;
    margin-right: 10px;
    padding: 6px 12px;
    background-color: #e0e0e0;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
}

.tab.active {
    background-color: #1976d2;
    color: white;
}

.board {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.column {
    flex: 1;
    min-width: 280px;
    max-width: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

.column h3 {
    text-align: center;
    background: #f5f5f5;
    padding: 8px;
    border-radius: 8px;
    margin-top: 0;
}

.card {
    background-color: #e3f2fd;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: grab;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: background 0.2s;
}

.card.rencana {
    background-color: #fff8e1;
}

.card.berjalan {
    background-color: #bbdefb;
}

.card.selesai {
    background-color: #c8e6c9;
}

.card-body {
    font-weight: 500;
    position: relative;
}

.assigned {
    font-size: 12px;
    color: #555;
    margin-top: 4px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

textarea {
    resize: vertical;
    min-height: 60px;
}

.menu-container {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 18px;
    cursor: pointer;
    user-select: none;
}

.dropdown {
    position: absolute;
    top: 24px;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    min-width: 120px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.dropdown div {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

.dropdown div:hover {
    background-color: #f0f0f0;
}

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .board {
        flex-direction: column;
    }

    .column {
        width: 100%;
    }
}