table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #f5f5f5;
}


input[type="number"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 1em;
    width: 60px;
}


.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 5px;
    transition: transform 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    transform: scale(1.1);
    background-color: rgba(0,0,0,0.05);
    border-radius: 50%;
}

.btn-icon-delete {
    color: #dc3545;
}

.btn-icon-delete:hover {
    color: #c82333;
    background-color: rgba(220, 53, 69, 0.1);
}


td form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn {
    display: block;
    text-decoration: none;
    width: fit-content;
    margin: 20px 0 0 auto; 
    padding: 12px 30px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

footer {
    margin-top: 40px;
    text-align: center;
    color: #666;
    padding: 20px 0;
    border-top: 1px solid #eee;
}