* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
}

.kanban-board {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.column {
    flex: 1;
    background-color: #e8e8e8;
    border-radius: 8px;
    padding: 15px;
    min-height: 500px;
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.column-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.add-card-btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-card-btn:hover {
    background: #0056b3;
}

.cards-container {
    min-height: 400px;
}

.card {
    background: white;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: move;
    position: relative;
    border: 1px solid #ddd;
}

.card:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.card.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.card-title {
    font-size: 14px;
    color: #333;
    word-wrap: break-word;
}

.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    cursor: pointer;
    font-size: 12px;
    display: none;
    align-items: center;
    justify-content: center;
}

.card:hover .delete-btn {
    display: flex;
}


.add-card-form {
    background: white;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

.add-card-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 5px;
    resize: none;
    min-height: 40px;
}

.form-buttons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.form-buttons button {
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.save-btn {
    background: #28a745;
    color: white;
}

.cancel-btn {
    background: #6c757d;
    color: white;
}

/* Mag Late Penalties Styles */
.fine-tracker {
    max-width: 1200px;
    margin: 30px auto 0;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fine-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.fine-header h2 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.add-fine-btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
}

.add-fine-btn:hover {
    background: #0056b3;
}

.fine-headers {
    display: grid;
    grid-template-columns: 120px 100px 30px;
    gap: 15px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 2px solid #ddd;
    font-weight: 600;
    font-size: 14px;
    color: #666;
}

.fine-item {
    display: grid;
    grid-template-columns: 120px 100px 30px;
    gap: 15px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.fine-item:last-child {
    border-bottom: none;
}

.fine-date, .fine-amount {
    font-size: 14px;
    color: #333;
}


.fine-delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fine-delete-btn:hover {
    background: #c82333;
}

.fine-form {
    display: grid;
    grid-template-columns: 120px 100px auto;
    gap: 15px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.fine-form input {
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.fine-form input:focus {
    outline: none;
    border-color: #007bff;
}

.fine-form-buttons {
    display: flex;
    gap: 8px;
}

.fine-form-buttons button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.fine-total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #333;
    text-align: right;
    font-size: 16px;
}